gmaven插件给出了对象堆空间错误

时间:2014-12-16 03:54:01

标签: maven groovy gmaven-plugin

由于gmaven-plugin我收到错误,并且groovy发出错误说groovy classpath找不到足够的对象堆空间。我正在使用32位系统& Intellij想法ide。我尝试了各种选项,但无法解决它?

我所尝试的是:

<configuration>
  <argLine>-Xmx1024m</argLine>
</configuration>

Xmx256M -XX:MaxPermSize=512m
For 32 bit 
-Xms1336m -Xmx1336m

I Got the same error,and resolved this by configuring in the run.conf.bat
Run the JVM with the configuring run.conf.bat in Jboss5x
If free memory is not available AS you are passing in the statement then please make changes in run.conf.bat
set "JAVA_OPTS=-Xms512m -Xmx512m -XX:MaxPermSize=256m

<configuration>
    <maxmemory>1024M</maxmemory>
</configuration>

According to this IBM document about the Java heap size (along with some hints about setting the right heap size) the limits for Windows are:
•   maximum possible heap size on 32-bit Java: 1.8 GB
•   recommended heap size limit on 32-bit Java: 1.5 GB (or 1.8 GB with /3GB option)

MAVEN_OPTS="-Xms2048m -Xmx2048m -XX:PermSize=512m -XX:MaxPermSize=1024m"

Could  anyone help me out in getting rid of this ?

0 个答案:

没有答案