This is what I do and it fails....

The sysproperty doesn't have any effect.

Hope to hear from you guys soon (again, I'm using jdk1.5/winxp).



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

                                <pathelement path="${gwt-src}/" />
                                <pathelement path="${compile_classpath}" />
                                <pathelement path="./src" />
                        </classpath>
                        <arg value="com.company.MyModule" />
                </java>

On Apr 13, 11:24 am, Vitali Lovich <[email protected]> wrote:
> Heap space isn't his problem - he's running out of stack.  Also, GWTCompiler
> is 1.5 - he's using 1.6 (from what I gather, because this wasn't an issue
> with 1.5) where it is just Compiler.
>
> Can you try to just keep increasing the stack size?  Also, can you post the
> ant task you are using - maybe you're passing in the options incorrectly.
>
> On Mon, Apr 13, 2009 at 4:52 AM, Shawn Brown 
> <[email protected]>wrote:
>
>
>
>
>
> > What about using something like:
>
> > <java fork="true" maxmemory="1024m"
> >  classname="com.google.gwt.dev.GWTCompiler">
> >                        <jvmarg line="-XstartOnFirstThread" />
> > ...
>
> > Shawn
--~--~---------~--~----~------------~-------~--~----~
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