Created
November 3, 2016 17:56
-
-
Save svanoort/9d02c20c4b1bcc61ef5ba8f9863e3bf1 to your computer and use it in GitHub Desktop.
JVM args for a fast Intellij
This file contains 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
# custom IntelliJ IDEA VM options | |
-server | |
-Xss16m | |
-Xms256m | |
-Xmx1500m | |
-XX:ReservedCodeCacheSize=240m | |
-XX:+AlwaysPreTouch | |
-XX:+TieredCompilation | |
-XX:+UseCompressedOops | |
-XX:+UseCompressedClassesPointers | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
-Dsun.io.useCanonCaches=false | |
-Djava.net.preferIPv4Stack=true | |
-ea | |
# GC tuning | |
-XX:NewRatio=1 | |
-XX:+UseConcMarkSweepGC | |
-XX:+CMSParallelRemarkEnabled | |
-XX:+UseParNewGC | |
-XX:ConcGCThreads=4 | |
-XX:+ScavengeBeforeFullGC | |
-XX:+CMSScavengeBeforeRemark | |
-XX:+ParallelRefProcEnabled | |
-XX:+ExplicitGCInvokesConcurrent | |
-XX:+CMSClassUnloadingEnabled | |
-XX:+CMSParallelRemarkEnabled | |
# Metaspace caps | |
-XX:CompressedClassSpaceSize=300m | |
-XX:MaxMetaspaceFreeRatio=30 | |
-XX:MetaspaceSize=300m | |
-XX:MinMetaspaceFreeRatio=10 | |
# GC output | |
-Xloggc:/tmp/intellij-gc-%t.log | |
-XX:+PrintGCDetails | |
-XX:+PrintGCDateStamps | |
-XX:+PrintGCCause | |
-XX:+PrintTenuringDistribution | |
-XX:+PrintReferenceGC -XX:+PrintAdaptiveSizePolicy | |
-XX:+PrintGCTimeStamps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment