I could not reolve the out of memory issue I get this at compile
time.
here is my maven plguin
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.2</version>
<configuration>
<logLevel>DEBUG</logLevel>
<compileTargets>
<value>gov.hhs.acf.web.gwt.client.Hello</value>
</compileTargets>
<extraJvmArgs>-Xmx512m</extraJvmArgs>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
I get this error please help me
he system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
at com.sun.tools.javac.util.Name.fromUtf(Name.java:84)
at
com.sun.tools.javac.util.Name$Table.fromUtf(Name.java:510)
at com.sun.tools.javac.util.ByteBuffer.toName(ByteBuffer.java:151)
at com.sun.tools.javac.jvm.ClassWriter.typeSig(ClassWriter.java:407)
at com.sun.tools.javac.jvm.ClassWriter.writePool(ClassWriter.java:
493)
at
com.sun.tools.javac.jvm.ClassWriter.writeClassFile(ClassWriter.java:
1567)
at com.sun.tools.javac.jvm.ClassWriter.writeClass(ClassWriter.java:
1444)
at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:
618)
at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:
1289)
at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:
1259)
at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:
765)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:
730)
at com.sun.tools.javac.main.Main.compile(Main.java:353)
at com.sun.tools.javac.main.Main.compile(Main.java:279)
at com.sun.tools.javac.main.Main.compile(Main.java:270)
at com.sun.tools.javac.Main.compile(Main.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:
420)
at
org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:
141)
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:
493)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:
114)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
483)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
678)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:
540)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
519)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
371)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
332)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:
516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:
114)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
483)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
678)
... 16 more