cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joaquin Casares (JIRA)" <>
Subject [jira] Created: (CASSANDRA-2301) OOM on repair
Date Wed, 09 Mar 2011 19:47:59 GMT
OOM on repair

                 Key: CASSANDRA-2301
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 0.7.1
            Reporter: Joaquin Casares
             Fix For: 0.7.4
         Attachments: 2301.diff

On repair, the java heap space tends to OOM.

I replicated the error by making 1264 3MB sstables on one node, added a second node, changed
the replication factor to 2, and ran a repair.

Looking at the heap dump of the original failure, there were 2.4GB of FutureTasks, each taking
up 8MB of space. I tracked down the BufferedRandomAccessFile and made sure that it was cleared
every time it was closed inside of src/java/org/apache/cassandra/io/sstable/

Attached is the patch I used which stopped the error when I was trying to replicate it.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message