halve default memtable thresholds

patch by jbellis; reviewed by bcoverston for CASSANDRA-2413

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1089079 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Ellis 2011-04-05 15:30:31 +00:00
parent adbff64e2d
commit ee1bb5aa95
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
index (CASSANDRA-2376)
* fix race condition that could leave orphaned data files when
dropping CF or KS (CASSANDRA-2381)
* halve default memtable thresholds (CASSANDRA-2413)
0.7.4

View File

@ -101,7 +101,7 @@ public final class CFMetaData
*/
public static int sizeMemtableThroughput()
{
return (int) (Runtime.getRuntime().maxMemory() / (1048576 * 16));
return (int) (Runtime.getRuntime().maxMemory() / (1048576 * 32));
}
/**