加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

java – IntelliJ IDEA 12.0 JVM启动错误

发布时间:2020-12-14 16:40:01 所属栏目:Java 来源:网络整理
导读:我刚刚升级到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文件,最大堆
我刚刚升级到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?

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读