2014-10-22 65 views
0

我在32位Windows机器上运行IntelliJ版本13.1.3。 JVM版本是1.7。 当运行甚至简单的测试,下面的错误被抛出:在IntelliJ中运行测试:无法创建JVM

Error: Could not create the Java Virtual Machine. 
Error: A fatal exception has occurred. Program will exit. 
Invalid maximum heap size: -Xmx4g 
The specified size exceeds the maximum representable size. 
Process finished with exit code 1 

任何人都可以帮助? 感谢

+0

修复最大堆大小,32位支持最大〜900MB – Meo 2014-10-22 11:35:42

+0

谢谢。 IntelliJ中的这个设置在哪里? – user1052610 2014-10-22 11:46:46

+0

可能在运行配置中https://www.jetbrains.com/idea/webhelp/creating-and-editing-run-debug-configurations.html – Meo 2014-10-22 12:08:40

回答

0

Pycharm竖立在的IntelliJ使用这个名称的JVM配置文件:

pycharm.exe.vmoptions 

也许你能找到的IntelliJ的二进制路径类似的文件更改JVM堆属性。