Created
April 13, 2020 08:37
-
-
Save diablowu/cf002111515825f71cbb42ffe6bf111c to your computer and use it in GitHub Desktop.
jdk8-jvm.options
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
-Xmx8G | |
-Xms8G | |
-Xmn2G | |
-Xss256k | |
-XX:MaxMetaspaceSize=256M | |
-XX:+HeapDumpOnOutOfMemoryError | |
-XX:+AlwaysPreTouch | |
-XX:+UseTLAB | |
-XX:+ResizeTLAB | |
-XX:+UseNUMA | |
-Djava.net.preferIPv4Stack=true | |
#-XX:+UnlockDiagnosticVMOptions | |
#-XX:+PrintGCDetails | |
#-XX:+PrintGCDateStamps | |
#-XX:+PrintHeapAtGC | |
#-XX:+PrintTenuringDistribution | |
#-XX:+PrintGCApplicationStoppedTime | |
#-XX:+PrintPromotionFailure | |
#-Xloggc:/tmp/gc/gc-$$.log | |
# cms | |
-XX:+UseParNewGC | |
-XX:+UseConcMarkSweepGC | |
-XX:+CMSParallelRemarkEnabled | |
-XX:SurvivorRatio=8 | |
-XX:MaxTenuringThreshold=1 | |
-XX:CMSInitiatingOccupancyFraction=75 | |
-XX:+UseCMSInitiatingOccupancyOnly | |
-XX:CMSWaitDuration=10000 | |
-XX:+CMSParallelInitialMarkEnabled | |
-XX:+CMSEdenChunksRecordAlways | |
-XX:+CMSClassUnloadingEnabled | |
# g1gc | |
#-XX:+UseG1GC | |
#-XX:+ParallelRefProcEnabled | |
#-XX:G1RSetUpdatingPauseTimePercent=5 | |
#-XX:MaxGCPauseMillis=500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment