Skip to content

Instantly share code, notes, and snippets.

@kindofblue
Created May 25, 2022 18:03
Show Gist options
  • Save kindofblue/6c61e148e672b3218019fa10f0a1ea84 to your computer and use it in GitHub Desktop.
Save kindofblue/6c61e148e672b3218019fa10f0a1ea84 to your computer and use it in GitHub Desktop.
Better performance vmoptions for 2020.1 intellij
-Xms1024m
-Xmx3072m
-Xss64m
-Dfile.encoding=UTF-8
-Djava.net.preferIPv4Stack=true
-Dsun.io.useCanonCaches=false
-XX:+AggressiveOpts
-XX:+AlwaysPreTouch
-XX:+CMSClassUnloadingEnabled
-XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing
-XX:+CMSParallelRemarkEnabled
-XX:+CMSPermGenSweepingEnabled
-XX:+CMSScavengeBeforeRemark
-XX:+DisableExplicitGC
-XX:+DoEscapeAnalysis
-XX:+ExplicitGCInvokesConcurrent
-XX:+HeapDumpOnOutOfMemoryError
-XX:+OptimizeStringConcat
-XX:+PrintFlagsFinal
-XX:+PrintGCDetails
-XX:+TieredCompilation
-XX:+UnlockDiagnosticVMOptions
-XX:+UnlockExperimentalVMOptions
-XX:+UseAdaptiveGCBoundary
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+UseCodeCacheFlushing
-XX:+UseCompressedOops
-XX:+UseCompressedStrings
-XX:+UseConcMarkSweepGC
-XX:+UseFastAccessorMethods
-XX:+UseParNewGC
-XX:+UseSplitVerifier
-XX:+UseStringCache
-XX:-OmitStackTraceInFastThrow
-XX:-TraceClassUnloading
-XX:CMSInitiatingOccupancyFraction=65
-XX:CompileThreshold=10000
-XX:LargePageSizeInBytes=256m
-XX:MaxNewSize=512m
-XX:MaxPermSize=1024m
-XX:MaxTenuringThreshold=1
-XX:NewRatio=2
-XX:NewSize=512m
-XX:ParallelGCThreads=4
-XX:PermSize=512m
-XX:ReservedCodeCacheSize=512m
-XX:SoftRefLRUPolicyMSPerMB=250
-XX:SurvivorRatio=8
-Xverify:none
-ea
-Xms8192m
-Xmx12288m
-XX:MaxPermSize=4096m
-XX:ReservedCodeCacheSize=1000m
-XX:+UseCompressedOops
-XX:-HeapDumpOnOutOfMemoryError
-Dfile.encoding=UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment