Created
January 11, 2016 06:18
-
-
Save paranoidjk/36891e7e117a86aa01ee to your computer and use it in GitHub Desktop.
php storm在mac上卡顿
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 用的是 mac osx,编辑 phpstorm 的启动配置文件,其他平台根据情况选择: | |
sudo vim /Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions | |
# 修改参数,根据具体需要修改即可,一般修改 -Xmx(即最大可占内存)即可 | |
-Xms512m | |
-Xmx2048m | |
-XX:MaxPermSize=350m | |
-XX:ReservedCodeCacheSize=240m | |
-XX:+UseCompressedOops |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment