The same here. In ant I do the following:

        <target name="GWTCompile" depends="compile">
                <java classname="com.google.gwt.dev.Compiler" 
taskname="gwt-compile"
                        failonerror="true" fork="true"  >
                        <jvmarg value="-Xmx1G" />
                        <jvmarg value="-Xss1024k"/>
                        <jvmarg value="-Xms64M"/>
                        <classpath>

                                <pathelement path="${gwt-src}/" />
                                <pathelement path="${compile_classpath}" />
                                <pathelement path="./src" />
                        </classpath>

                        <arg value="com.xx.MyModule" />
                </java>
   </target>

And still I get GWTCompile:

[gwt-compile] Compiling module com.qualogy.qafe.gwt.QAFEGWTWeb
[gwt-compile]    [ERROR] Unexpected internal compiler error
[gwt-compile] java.lang.StackOverflowError

I tried to use

<sysproperty key="-Dgwt.compiler.jvmargs" value="-Xmx1G -Xss1024k"/>

and this

<sysproperty key="gwt.compiler.jvmargs" value="-Xmx1G -Xss1024k"/>

But no success.

Can somebody help me on this ?





On Apr 9, 9:27 pm, Andy <[email protected]> wrote:
> I've been trying to upgrade to 1.6.4, but am also getting this error.
>
> I use Ant to build my WAR, so I added the JVM arg to my script, but no
> matter what value I specify, it doesn't make any difference.
>
> ...and I get an OutOfMemoryException is I set it too high!
>
> Will using the Eclipse plug-in make any difference?
>
> I have one "super" module, so would breaking it apart into smaller
> components help?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to