From e039a442b21bd22b0d95338c02d2524f139b7361 Mon Sep 17 00:00:00 2001 From: Jonathan Ellis Date: Mon, 24 May 2010 18:19:55 +0000 Subject: [PATCH] improve default JVM GC options. patch by Jacob Kessler and Brandon Williams for CASSANDRA-1014 git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.6@947743 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 1 + bin/cassandra.in.sh | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index b77ae6c373..1702b070dd 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -25,6 +25,7 @@ * windows script for nodetool (CASSANDRA-1113) * expose PhiConvictThreshold (CASSANDRA-1053) * make repair of RF==1 a no-op (CASSANDRA-1090) + * improve default JVM GC options (CASSANDRA-1014) 0.6.1 diff --git a/bin/cassandra.in.sh b/bin/cassandra.in.sh index 322283f5ea..9d66ab016c 100644 --- a/bin/cassandra.in.sh +++ b/bin/cassandra.in.sh @@ -39,16 +39,14 @@ done # Arguments to pass to the JVM JVM_OPTS=" \ -ea \ - -Xms128M \ + -Xms256M \ -Xmx1G \ - -XX:TargetSurvivorRatio=90 \ - -XX:+AggressiveOpts \ -XX:+UseParNewGC \ -XX:+UseConcMarkSweepGC \ -XX:+CMSParallelRemarkEnabled \ + -XX:SurvivorRatio=8 \ + -XX:MaxTenuringThreshold=1 \ -XX:+HeapDumpOnOutOfMemoryError \ - -XX:SurvivorRatio=128 \ - -XX:MaxTenuringThreshold=0 \ -Dcom.sun.management.jmxremote.port=8080 \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.jmxremote.authenticate=false"