【发布时间】:2014-06-26 22:27:37
【问题描述】:
我正在开发 GGTS 3.5 和 Grails 2.3.7 版。当我运行我的项目时,我们面临堆大小的问题。
Windows 7 32 bit; RAM: 3gb.
Java 1.7 .
我也设置了以下环境变量。
GRAILS_OPTS = -XX:MaxPermSize=1024m -Xmx1024m -server
JAVA_OPTS = -XX:MaxPermSize=1024m -Xmx1024m -server
并在启动 grails 文件中更改了我的 GRAILS_OPTS。但仍然面临同样的问题。
我刚刚开始使用 java 和 grails,请帮帮我。提前谢谢了。 错误描述:
Loading Grails 2.3.7
Configuring classpath .
Environment set to development .................................
Packaging Grails application ..........................................
Running Grails
application Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error | Forked Grails VM exited with error
【问题讨论】:
标签: grails heap-memory