Skip to content

Instantly share code, notes, and snippets.

@nicolas-zozol
Last active May 10, 2018 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicolas-zozol/ca038df4f0ba4f9846c8b5aac7037447 to your computer and use it in GitHub Desktop.
Save nicolas-zozol/ca038df4f0ba4f9846c8b5aac7037447 to your computer and use it in GitHub Desktop.
-XX:ReservedCodeCacheSize=1024m
-XX:SoftRefLRUPolicyMSPerMB=50
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-server
-Xms2048m
-Xmx2048m
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:PermSize=512m
-XX:MaxPermSize=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:-TraceClassUnloading
-ea
-Dsun.io.useCanonCaches=false
@nicolas-zozol
Copy link
Author

nicolas-zozol commented Dec 2, 2017

Help->Edit Custom VM Options

Replace the first three lines by :

-Xms1024m
-Xmx4096m
-XX:ReservedCodeCacheSize=1024m

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