Skip to content

Instantly share code, notes, and snippets.

@voku
Last active July 25, 2019 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voku/258da0336a4ed7bfa02a88f59019680e to your computer and use it in GitHub Desktop.
Save voku/258da0336a4ed7bfa02a88f59019680e to your computer and use it in GitHub Desktop.
vmoptions
-ea
-server
-Xss2m
-Xms2G
-Xmx5G
-XX:MaxMetaspaceSize=2G
-XX:MetaspaceSize=512m
-XX:ReservedCodeCacheSize=1G
-XX:+DoEscapeAnalysis
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:+UnlockExperimentalVMOptions
-Djava.net.preferIPv4Stack=true
-XX:LargePageSizeInBytes=256m
-XX:+UseCodeCacheFlushing
-XX:ParallelGCThreads=8
-XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+PrintGCDetails
-XX:+PrintFlagsFinal
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:CMSInitiatingOccupancyFraction=60
-XX:+CMSParallelRemarkEnabled
-XX:+UseAdaptiveGCBoundary
-XX:CompileThreshold=10000
-XX:+OptimizeStringConcat
-XX:+UnlockDiagnosticVMOptions
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseCompressedOops
-XX:-OmitStackTraceInFastThrow
-Dawt.useSystemAAFontSettings=lcd
-Dfile.encoding=UTF-8
-Xverify:none
-Djdk.http.auth.tunneling.disabledSchemes=""
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
-Dsun.java2d.opengl=false
-Dide.no.platform.update=true
-Dsun.tools.attach.tmp.only=true
-Dsun.io.useCanonPrefixCache=false
-XX:CICompilerCount=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment