Skip to content

Instantly share code, notes, and snippets.

@mkdika
Last active May 12, 2019 23:22
Show Gist options
  • Save mkdika/19c970ed326a20f2b1a50cb7e9f958de to your computer and use it in GitHub Desktop.
Save mkdika/19c970ed326a20f2b1a50cb7e9f958de to your computer and use it in GitHub Desktop.
My IntelliJ 64bit Custom VM Options
# custom IntelliJ IDEA VM options
# only apply for IntelliJ use JDK8, not JDK11
-server
-Xms2048m
-Xmx2048m
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:ParallelGCThreads=4
-XX:MaxTenuringThreshold=1
-XX:SurvivorRatio=8
-XX:+UseCodeCacheFlushing
-XX:+UseConcMarkSweepGC
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing
-XX:+CMSParallelRemarkEnabled
-XX:CMSInitiatingOccupancyFraction=65
-XX:+CMSScavengeBeforeRemark
-XX:+UseCMSInitiatingOccupancyOnly
-XX:ReservedCodeCacheSize=240m
-XX:-TraceClassUnloading
-ea
-Dsun.io.useCanonCaches=false
@mkdika
Copy link
Author

mkdika commented Oct 8, 2018

I use this at IntelliJ IDEA 2018 Ultime and run smoothly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment