webstorm安装时遇到The JVM could not be started的解决方法

error:

THE jvm could not be started.The maximum heap size (-Xmx) might be too large or an antivirus or firewall tool could block the execution.

 

参考了国内外的一些网站 终于找到解决方法了.

修改安装目录下的文件

..\WebStorm 5.0\bin\WebStorm.exe.vmoptions //用记事本打开,会看到如下的信息:

-Xms128m
-Xmx516m
-XX:MaxPermSize=250m
-XX:ReservedCodeCacheSize=64m
-XX:+UseCodeCacheFlushing
-ea

把-Xmx516m改小就行了

我的改成了-Xmx256m.

posted @ 2014-04-01 10:33  stma  阅读(544)  评论(0)    收藏  举报