Skip to content

Commit

Permalink
Changed the template for JVM config in accordance with the `elasticse…
Browse files Browse the repository at this point in the history
  • Loading branch information
karmi committed Jan 8, 2012
1 parent eeb2ad2 commit 313b1dc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions templates/default/elasticsearch-env.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ ES_CLASSPATH=$ES_CLASSPATH:$ES_HOME/lib/*:$ES_HOME/lib/sigar/*
ES_JAVA_OPTS="
-server
-Djava.net.preferIPv4Stack=true
-Des.max-open-files=true
-Des.config=<%= node.elasticsearch[:conf_path] %>/elasticsearch.yml
-Xms<%= node.elasticsearch[:min_mem] %>
-Xmx<%= node.elasticsearch[:max_mem] %>
-Xss128k
-XX:+AggressiveOpts
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:+CMSParallelRemarkEnabled
-XX:+HeapDumpOnOutOfMemoryError
-XX:CMSInitiatingOccupancyFraction=88"
-XX:SurvivorRatio=8
-XX:MaxTenuringThreshold=1
-XX:CMSInitiatingOccupancyFraction=75
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+HeapDumpOnOutOfMemoryError"

0 comments on commit 313b1dc

Please sign in to comment.