偶尔当 Gradle STS 扩展在使用已安装 Gradle STS 扩展,
Unable to start the daemon process. The exit value was: 1.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at http://gradle.org/docs/current/userguide/gradle_daemon.html
Please read below process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Could not fetch model of type 'EclipseProject' using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.0-bin.zip'.
这是我的系统规范:
- Windows 7 32 位
- Eclipse 3.7 32 位
- Java jdk1.7.0_07 32 位
这是该插件的已知错误吗?关于如何修复它的任何想法?
最佳答案
在 Eclipse 中,转到 Window、Preferences、Gradle、Arguments 并在对话框中添加 gradle jvmargs -Xms128m -Xmx512m:
关于java - Eclipse Gradle STS 扩展 : Could not reserve enough space for object heap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12585506/