Created
April 1, 2011 18:17
-
-
Save afeinberg/898593 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JVM_SIZE="-server -Xms18g -Xmx18g" | |
# New Generation Sizes (-XX:NewSize -XX:MaxNewSize) | |
JVM_SIZE_NEW="-XX:NewSize=2048m -XX:MaxNewSize=2048m" | |
# Type of Garbage Collector to use | |
JVM_GC_TYPE="-XX:+UseConcMarkSweepGC -XX:+UseParNewGC" | |
# Tuning options for the above garbage collector | |
JVM_GC_OPTS="-XX:CMSInitiatingOccupancyFraction=70 -XX:SurvivorRatio=2" | |
# JVM GC activity logging settings ($LOG_DIR set in the ctl script) ## DME: PrintTenuringDistribution not set in master_conf.sh | |
JVM_GC_LOG="-XX:+PrintTenuringDistribution -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:$LOG_DIR/gc.log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You mentioned that these settings are for nodes with 32Gg RAM. Why are you allocating more than 18Gb heap? Are there diminishing returns due to GC?