Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ershad1/d076ba3348535cdb6549abf1645026df to your computer and use it in GitHub Desktop.
Save ershad1/d076ba3348535cdb6549abf1645026df to your computer and use it in GitHub Desktop.
Performance tuning parameters for IntelliJ IDEA JDK8 and 16G RAM on windows 10. Add these params in idea64.exe.vmoptions or idea.exe.vmoptions file in IntelliJ IDEA.
-Xms2g
-Xmx4g
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-server
-Xss160m
-XX:+CMSParallelRemarkEnabled
-XX:ConcGCThreads=4
-XX:+AlwaysPreTouch
-XX:+TieredCompilation
-XX:+UseCompressedOops
-Djsse.enableSNIExtension=false
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:+UseParNewGC
-XX:ParallelGCThreads=4
-XX:MaxTenuringThreshold=1
-XX:SurvivorRatio=8
-XX:+UseCodeCacheFlushing
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing
-XX:CMSInitiatingOccupancyFraction=65
-XX:+CMSScavengeBeforeRemark
-XX:+UseCMSInitiatingOccupancyOnly
-XX:-TraceClassUnloading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment