Skip to content

Commit 9cf61df

Browse files
committed
G1GC garbage collection with default ES settings
1 parent 26dc1fb commit 9cf61df

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

cloud-config/configs/elasticsearch/jvm.options

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
# Standard default jvm.options as of 20190930
1010
# -Xms2g
1111
# -Xmx2g
12-
-XX:+UseConcMarkSweepGC
13-
-XX:CMSInitiatingOccupancyFraction=75
14-
-XX:+UseCMSInitiatingOccupancyOnly
15-
-XX:+AlwaysPreTouch
12+
-XX:+UseG1GC
13+
-XX:G1ReservePercent=25
14+
-XX:InitiatingHeapOccupancyPercent=30-XX:+AlwaysPreTouch
1615
-server
1716
-Xss1m
1817
-Djava.awt.headless=true

0 commit comments

Comments
 (0)