Skip to content

Instantly share code, notes, and snippets.

@duan-li
Last active July 1, 2017 17:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duan-li/0d9f3ab13385824a8d4774ac91bf6da7 to your computer and use it in GitHub Desktop.
Save duan-li/0d9f3ab13385824a8d4774ac91bf6da7 to your computer and use it in GitHub Desktop.
custom PhpStorm VM options .vmoptions
# custom PhpStorm VM options
## Comm Setting
-Xms512m
-Xmx2048m
-XX:ReservedCodeCacheSize=240m
## Mac OS Setting
-XX:+UseCompressedOops
-XX:MaxPermSize=350m
-XX:+UseCodeCacheFlushing
-Dawt.useSystemAAFontSettings=lcd
-Dawt.java2d.opengl=true
## Windows Setting
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment