java – IntelliJ IDEA 12.0 JVM启动错误

前端之家收集整理的这篇文章主要介绍了java – IntelliJ IDEA 12.0 JVM启动错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我刚刚升级到IntelliJ IDEA 12.0,并在尝试启动时立即收到错误
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.

我检查了我的idea.exe.vmoptions文件,最大堆大小只有640m(我有8 GB物理内存,没有运行任何其他应用程序).

idea.exe.vmoptions

-Xms128m
-Xmx640m
-XX:MaxPermSize=640m
-XX:ReservedCodeCacheSize=64m
-XX:+UseCodeCacheFlushing
-ea
-Dsun.io.useCanonCaches=false

我的机器上仍然有IntelliJ IDEA 11.4,我可以运行(在idea.exe.vmoptions中使用相同的值进行最大化).由于IntelliJ IDEA 11.4运行,我不相信它是防病毒或防火墙问题.我也检查了这些设置.

任何人遇到这个或有任何想法(不是双关语)?

解决方法

see this answer为问题背景和解决方案.

你的问题似乎是完全重复的:

> How to increase intellij 32bit xmx more than 1GB?

原文链接:https://www.f2er.com/idea/124665.html

猜你在找的IDEA相关文章