Skip to content

Instantly share code, notes, and snippets.

@puneetar
Last active May 15, 2017 16:25
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 puneetar/4366b910cb4ea101d421813937c9c93f to your computer and use it in GitHub Desktop.
Save puneetar/4366b910cb4ea101d421813937c9c93f to your computer and use it in GitHub Desktop.
# custom IntelliJ IDEA VM options
# references from https://gist.github.com/P7h/4388881 and https://gist.github.com/devnulled/4120215
# running Scala with Scalaz on JVM 1.8.0 64 bit for IntelliJ 2017.1
-server
-Xms2048m
-Xmx3048m
-XX:ReservedCodeCacheSize=240m
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:+UseParNewGC
-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:-TraceClassUnloading
-ea
-Dsun.io.useCanonCaches=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment