This commit is contained in:
Sharad Ahlawat
2021-04-01 01:23:14 -07:00
parent 5cee123a3c
commit 90c5709862
64 changed files with 802 additions and 140 deletions

View File

@ -19,8 +19,18 @@
# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space
-Xms4g
-Xmx4g
-Xmn4G
-Xms8G
-Xmx8G
-XX:MaxMetaspaceSize=2G
-Xss2G
-Xnoclassgc
-XX:MaxDirectMemorySize=2G
-XX:InitialRAMPercentage=80
-XX:MaxRAMPercentage=80
-XX:MinRAMPercentage=80
################################################################
## Expert settings
@ -33,7 +43,7 @@
################################################################
## GC configuration
8-13:-XX:+UseConcMarkSweepGC
8-9:-XX:+UseConcMarkSweepGC
8-13:-XX:CMSInitiatingOccupancyFraction=75
8-13:-XX:+UseCMSInitiatingOccupancyOnly
@ -43,9 +53,9 @@
# following three lines to your version of the JDK
# 10-13:-XX:-UseConcMarkSweepGC
# 10-13:-XX:-UseCMSInitiatingOccupancyOnly
14-:-XX:+UseG1GC
14-:-XX:G1ReservePercent=25
14-:-XX:InitiatingHeapOccupancyPercent=30
11-:-XX:+UseG1GC
11-:-XX:G1ReservePercent=25
11-:-XX:InitiatingHeapOccupancyPercent=30
## JVM temporary directory
-Djava.io.tmpdir=${ES_TMPDIR}
@ -58,10 +68,10 @@
# specify an alternative path for heap dumps; ensure the directory exists and
# has sufficient space
-XX:HeapDumpPath=data
-XX:HeapDumpPath=/data
# specify an alternative path for JVM fatal error logs
-XX:ErrorFile=logs/hs_err_pid%p.log
-XX:ErrorFile=/var/log/hs_err_pid%p.log
## JDK 8 GC logging
8:-XX:+PrintGCDetails