Created
September 7, 2020 01:14
-
-
Save kazuki-ma/22b876d41b637a8789c2e3964bf92097 to your computer and use it in GitHub Desktop.
G1GC Idea VMOptions
This file contains 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
-Xms128m | |
-Xmx8192m | |
-XX:+UseG1GC | |
-XX:MaxGCPauseMillis=100 | |
-XX:ReservedCodeCacheSize=280m | |
-XX:+UseCompressedOops | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
-ea | |
-XX:CICompilerCount=2 | |
-Dsun.io.useCanonPrefixCache=false | |
-Djdk.http.auth.tunneling.disabledSchemes="" | |
-XX:+HeapDumpOnOutOfMemoryError | |
-XX:-OmitStackTraceInFastThrow | |
-Djdk.attach.allowAttachSelf=true | |
-Dkotlinx.coroutines.debug=off | |
-Djdk.module.illegalAccess.silent=true | |
-XX:+UseCompressedOops | |
-Dfile.encoding=UTF-8 | |
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log | |
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-XX:+UseG1GC
is most important parts.-XX:MaxGCPauseMillis=100
is critical parameter. 100~300 is good.