From ed99787c8e5c2bae7fbfaf397aad8f3501184de6 Mon Sep 17 00:00:00 2001 From: kimchy Date: Sun, 7 Nov 2010 00:46:46 +0200 Subject: [PATCH] add a comment for the compressed oops option --- bin/elasticsearch.in.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/elasticsearch.in.sh b/bin/elasticsearch.in.sh index a8dfb123f30..99ca3e6d60e 100644 --- a/bin/elasticsearch.in.sh +++ b/bin/elasticsearch.in.sh @@ -14,8 +14,13 @@ JAVA_OPTS="$JAVA_OPTS -Xss128k" JAVA_OPTS="$JAVA_OPTS -Djline.enabled=true" +# Enable aggressive optimizations in the JVM JAVA_OPTS="$JAVA_OPTS -XX:+AggressiveOpts" +# Enable reference compression, reducing memory overhead on 64bit JVMs +# - Disabled by default as it is not stable for Sun JVM before 6u19 +#JAVA_OPTS="$JAVA_OPTS -XX:+UseCompressedOops" + JAVA_OPTS="$JAVA_OPTS -XX:+UseParNewGC" JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC" JAVA_OPTS="$JAVA_OPTS -XX:+CMSParallelRemarkEnabled"