Skip to content

Instantly share code, notes, and snippets.

@ksomemo
Last active August 3, 2017 08:24
Show Gist options
  • Save ksomemo/8644251 to your computer and use it in GitHub Desktop.
Save ksomemo/8644251 to your computer and use it in GitHub Desktop.
PhpStorm64.exe.vmoptions
-server
-Xms128m
-Xmx512m
-XX:MaxPermSize=250m
-XX:ReservedCodeCacheSize=64m
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+UseCodeCacheFlushing
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c ""C:\Program Files\JetBrains\PhpStorm 7.0\bin\PhpStorm.bat""", vbhide
-server
-Xms512m
-Xmx1024m
-XX:MaxPermSize=512m
-XX:ReservedCodeCacheSize=128m
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+UseCodeCacheFlushing
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-Dswing.aatext=true
-Dawt.useSystemAAFontSettings=lcd
@cAstraea
Copy link

cAstraea commented Aug 8, 2016

チーッス o./
Did you notice a good performance improvement with this vmoption? I found phpstorm to lag quite a bit with inspections enabled when working with decently sized javascript files.

Tried different things , the cpu ramps up to 100% even when scrolling through the source file ~

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