From e953845058a652d9f8ca1c36bf72bf593e53b80c Mon Sep 17 00:00:00 2001 From: kimchy Date: Thu, 20 Jan 2011 00:13:18 +0200 Subject: [PATCH] Remove -XX:+AggressiveOpts flag that is turned on by default in startup script, closes #638. --- bin/elasticsearch.in.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/elasticsearch.in.sh b/bin/elasticsearch.in.sh index 480bc58badc..d3b92682d21 100644 --- a/bin/elasticsearch.in.sh +++ b/bin/elasticsearch.in.sh @@ -20,7 +20,8 @@ JAVA_OPTS="$JAVA_OPTS -Xss128k" JAVA_OPTS="$JAVA_OPTS -Djline.enabled=true" # Enable aggressive optimizations in the JVM -JAVA_OPTS="$JAVA_OPTS -XX:+AggressiveOpts" +# - Disabled by default as it might cause the JVM to crash +# 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