mac上調整phpstorm和webstorm的使用記憶體(預設是128m-750m) 避免卡頓
1. 修改phpstrom
vi /Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions
-Xms512m-Xmx2048m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=225m
-XX:+UseCompressedOops
2. 修改webstrom
vi /Applications/WebStorm.app/Contents/bin/idea.vmoptions
-Xms512m-Xmx2048m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=225m
-XX:+UseCompressedOops