Skip to content

Instantly share code, notes, and snippets.

@DimasInchidi
Last active July 3, 2018 05:37
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 DimasInchidi/39a9867d94884ac876092509340e9f7d to your computer and use it in GitHub Desktop.
Save DimasInchidi/39a9867d94884ac876092509340e9f7d to your computer and use it in GitHub Desktop.
my IDEA vmoptions
-Xms128m
-Xmx4096m
-XX:MaxMetaspaceSize=512m
-XX:MetaspaceSize=512m
-XX:ReservedCodeCacheSize=512m
-XX:+UseParNewGC
-XX:ParallelGCThreads=4
-XX:MaxTenuringThreshold=1
-XX:SurvivorRatio=8
-XX:+UseCodeCacheFlushing
-XX:+UseCompressedOops
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Dawt.useSystemAAFontSettings=lcd
-Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine
@DimasInchidi
Copy link
Author

note that this is configuration for 4gb ram

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