Last active
March 22, 2024 20:18
-
-
Save edwardbeckett/4bbb1bcaad3f900e7305 to your computer and use it in GitHub Desktop.
Java 8 Intellij 64 JVM Options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-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 |
according to: -XX:+UseCompressedOops
Compressed oops is supported and enabled by default in Java SE 6u23 and later.
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
much better! give this man a banana! I used to check the "power saving mode" to prevent it from stuttering. ON A FREAKING i7 4790k/32GB/64-bit/ssd