Increase index_interval and reopen sstables on low heap situations
------------------------------------------------------------------

                 Key: CASSANDRA-2875
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2875
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.8.1
            Reporter: Héctor Izquierdo


One of the reasons that can cause an OOM is key indexes. Of course you can tune 
it, but that's after your node has crashed. Events like repair can cause a much 
bigger memory pressure than expected on normal operation. As part of the 
measures taken when heap is almost full it would be good if key indexes could 
be shrank. I don't know how indexes are stored in memory but I guess it would 
be possible to remove entries without rereading all sstables.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to