Skip to content

Instantly share code, notes, and snippets.

@mtavkhelidze
Created January 23, 2019 10:32
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 mtavkhelidze/a94bcdd73bfa1aca2a0dce3b38e1b1db to your computer and use it in GitHub Desktop.
Save mtavkhelidze/a94bcdd73bfa1aca2a0dce3b38e1b1db to your computer and use it in GitHub Desktop.
Help -> Edit Custom VM Options
# custom IntelliJ IDEA VM options
# https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html
-ea
-Xms4096m
-Xmx8192m
-XX:CMSInitiatingOccupancyFraction=65
-XX:MaxMetaspaceSize=512m
-XX:MaxTenuringThreshold=1
-XX:NewRatio=2
-XX:ParallelGCThreads=4
-XX:ReservedCodeCacheSize=512m
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:SurvivorRatio=8
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:+CMSParallelRemarkEnabled
-XX:+CMSScavengeBeforeRemark
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+UseCompressedOops
-XX:+UseConcMarkSweepGC
-XX:+UseCodeCacheFlushing
-XX:+UseConcMarkSweepGC
-XX:+UseParNewGC
-XX:-OmitStackTraceInFastThrow
-XX:-TraceClassUnloading
-Xverify:none
-Dfile.encoding=UTF-8
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-Dsun.io.useCanonCaches=false
-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