1024k seems kind of small.  My Linux box has 8192k as the default according
to ulimit.  Keep increasing the stack size (try 4096k).  Clearly that's the
problem.

On Fri, Apr 10, 2009 at 10:07 PM, Alex <apobedim...@gmail.com> wrote:

>
> Well, in my case it helped to upgrade JDK from 1.5.0_11 to 1.6.0_07...
> after that ant compilation worked just fine with -Xss1024k.
>
> On Apr 10, 6:11 pm, Alex <apobedim...@gmail.com> wrote:
> > The same in my case: porting my 1.5.3 app to 1.6.4 and Ant fails with
> > the StackOverflowError error... -Xss1024k doesn't help (helped to do
> > "Compile/Browse" from the hosted mode though).
> >
> > Did anybody find a solution?
> >
> > On Apr 10, 3:09 am, Rockster <rjan...@gmail.com> wrote:
> >
> > > 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 <antonvonpil...@gmail.com> 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 Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to