I get this stackerror:
[gwt-compile] Exception in thread "main" java.lang.OutOfMemoryError:
unable to create new native thread
[gwt-compile] at java.lang.Thread.start0(Native Method)
[gwt-compile] at java.lang.Thread.start(Thread.java:574)
[gwt-compile] at java.lang.Shutdown.runHooks(Shutdown.java:128)
[gwt-compile] at java.lang.Shutdown.sequence(Shutdown.java:173)
[gwt-compile] at java.lang.Shutdown.exit(Shutdown.java:218)
[gwt-compile] at java.lang.Runtime.exit(Runtime.java:90)
[gwt-compile] at java.lang.System.exit(System.java:869)
[gwt-compile] at com.google.gwt.dev.Compiler.main(Compiler.java:137)
This is wrapped in a java.lang.StackOverflowError
I'm using maven (2.0.9), jdk.1.5 (18) and ant.
This is the ant code I'm using:
<target name="GWTCompile" depends="compile">
<java classname="com.google.gwt.dev.Compiler"
taskname="gwt-compile"
failonerror="true" fork="true" >
<jvmarg value="-Xmx512M" />
<jvmarg value="-Xss128m"/>
<jvmarg value="-Xms128M"/>
<classpath>
<pathelement path="${gwt-src}/" />
<pathelement path="${compile_classpath}" />
<pathelement path="./src" />
</classpath>
<arg value="com.company.MyModule" />
</java>
I tried many different values for the heapsize. I even tried using
jdk1.6 (with no success).
Maven calls the antscript with maven-antrun-plugin
What is going wrong ?
Any help is welcome!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---