File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ JAVA_OPTS="$JAVA_OPTS -XX:MaxTenuringThreshold=1"
34
34
JAVA_OPTS=" $JAVA_OPTS -XX:CMSInitiatingOccupancyFraction=75"
35
35
JAVA_OPTS=" $JAVA_OPTS -XX:+UseCMSInitiatingOccupancyOnly"
36
36
37
+ # GC logging options -- uncomment to enable
38
+ # JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"
39
+ # JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCTimeStamps"
40
+ # JAVA_OPTS="$JAVA_OPTS -XX:+PrintClassHistogram"
41
+ # JAVA_OPTS="$JAVA_OPTS -XX:+PrintTenuringDistribution"
42
+ # JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCApplicationStoppedTime"
43
+ # JAVA_OPTS="$JAVA_OPTS -Xloggc:/var/log/elasticsearch/gc.log"
44
+
37
45
# Causes the JVM to dump its heap on OutOfMemory.
38
46
JAVA_OPTS=" $JAVA_OPTS -XX:+HeapDumpOnOutOfMemoryError"
39
47
# The path to the heap dump location, note directory must exists and have enough
You can’t perform that action at this time.
0 commit comments