You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/02/08 21:37:57 UTC
[jira] Updated: (CASSANDRA-2142) Add "reduce memory usage because I
tuned things poorly" feature
[ 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