Skip to content

Instantly share code, notes, and snippets.

@edwardbeckett
Last active March 22, 2024 20:18
Show Gist options
  • Save edwardbeckett/4bbb1bcaad3f900e7305 to your computer and use it in GitHub Desktop.
Save edwardbeckett/4bbb1bcaad3f900e7305 to your computer and use it in GitHub Desktop.
Java 8 Intellij 64 JVM Options
-server
-Xms2g
-Xmx2g
-Xss16m
-XX:+UseConcMarkSweepGC
-XX:+CMSParallelRemarkEnabled
-XX:ConcGCThreads=4
-XX:ReservedCodeCacheSize=128m
-XX:+AlwaysPreTouch
-XX:+TieredCompilation
-XX:+UseCompressedOops
-XX:SoftRefLRUPolicyMSPerMB=50
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djsse.enableSNIExtension=false
-ea
@mariuszs
Copy link

mariuszs commented Sep 21, 2017

In IntelliJ 2017.2.3+ reserved code cache size is bigger:

-XX:ReservedCodeCacheSize=240m

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