Skip to content

Instantly share code, notes, and snippets.

@hurelhuyag
Forked from P7h/IntelliJ_IDEA__Perf_Tuning.txt
Last active August 29, 2015 14:26
Show Gist options
  • Save hurelhuyag/67655f9a831819284dfd to your computer and use it in GitHub Desktop.
Save hurelhuyag/67655f9a831819284dfd to your computer and use it in GitHub Desktop.
I just remove permsizes.
-server
-Xms512m
-Xmx2048m
-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:ReservedCodeCacheSize=64m
-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