Skip to content

Instantly share code, notes, and snippets.

@samuelcatalano-zz
Created July 29, 2020 09:18
Show Gist options
  • Save samuelcatalano-zz/e9846558ceaf376dba347f9e3af11545 to your computer and use it in GitHub Desktop.
Save samuelcatalano-zz/e9846558ceaf376dba347f9e3af11545 to your computer and use it in GitHub Desktop.
# custom IntelliJ IDEA VM options
-ea
-server
-Xms2G
-Xmx4096M
-Xss16m
-XX:MaxMetaspaceSize=2G
-XX:MetaspaceSize=512m
-XX:ConcGCThreads=6
-XX:ParallelGCThreads=6
-XX:NewRatio=3
-XX:ReservedCodeCacheSize=240m
-XX:+AlwaysPreTouch
-XX:+UseConcMarkSweepGC
-XX:+DoEscapeAnalysis
-XX:+TieredCompilation
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:+UnlockExperimentalVMOptions
-Djava.net.preferIPv4Stack=true
-Dsun.io.useCanonCaches=false
-XX:LargePageSizeInBytes=256m
-XX:+UseCodeCacheFlushing
-XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+PrintGCDetails
-XX:+PrintFlagsFinal
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:CMSInitiatingOccupancyFraction=60
-XX:+CMSParallelRemarkEnabled
-XX:+UseAdaptiveGCBoundary
-XX:+UseSplitVerifier
-XX:CompileThreshold=10000
-XX:+OptimizeStringConcat
-XX:+UseStringCache
-XX:+UseFastAccessorMethods
-XX:+UnlockDiagnosticVMOptions
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseCompressedOops
-XX:-OmitStackTraceInFastThrow
-Dfile.encoding=UTF-8
-Xverify:none
-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