[ 
https://issues.apache.org/jira/browse/CASSANDRA-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-2142:
--------------------------------------

    Attachment: 2142.txt

adds StorageService.reduceHeapUsage, which flushes the largest memtables and 
caps cache size when GCInspector notices that heap post-full-collection is 
within a configurable threshold of completely full.

The threshold defaults to 100% if it is not specified in .yaml (i.e., off for 
people upgrading) and 95% in the sample .yaml.

> Add "reduce memory usage because I tuned things poorly" feature
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-2142
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2142
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>              Labels: ponies
>             Fix For: 0.7.1
>
>         Attachments: 2142.txt
>
>
> Users frequently create too many columnfamilies, set the memtable thresholds 
> too high (or adjust throughput while ignoring operations), and/or set caching 
> thresholds too high.  Then their server OOMs and they tell their friends 
> Cassandra sucks.

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

        

Reply via email to