I think that may be some of the problem. I'm using 64-bit linux. I'll try switching to the 32-bit JDK and upping the memory limit.
Thanks, Ben On Jun 24, 11:11 am, Eric Ayers <[email protected]> wrote: > I noticed that many of my ant tests started to run out of memory when > I switched to a new Linux install. I downloaded Sun's 32 bit jdk and > that helped. > > -Eric. > > > > On Wed, Jun 24, 2009 at 12:39 PM, Freeland Abbott<[email protected]> wrote: > > "ant test" should do it. What platform and JVM are you using? Do even the > > "dev" directory's tests fail? ("cd dev; ant test" will check that, so long > > as you've built things like build-tools already.) > > > The memory limits for GWTTestCase tests (i.e. for user) are set in > > trunk/common.ant.xml, currently at line 184 for the gwt.junit macro, to > > 768M. The reason I asked specifically about dev is that its tests test to > > be vanilla java junit; those don't seem to change the default memory amounts > > (trunk/dev/core/build.xml, line 181). The top-level "ant test" will, I > > think, run dev's tests first, so if they fail you won't even get to the > > others. But that'd only happen if you were using a JVM with a rather... > > restrictive... default. > > > On Wed, Jun 24, 2009 at 1:45 AM, Ben Chambers <[email protected]> wrote: > > >> Hello, I'm trying to run ant test and keep getting a variety of > >> errors. Specifically, many of the tests fail due to Out of Memory > >> errors, and I'm not sure how to get them to succeed. I have followed > >> all the documentation for building GWT, and that seems to have worked, > >> but I am unable to get the tests to pass. > > >> Is there something I need to do beyond "ant test"? > > >> Thanks, > >> Ben Chambers > > -- > Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/ --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
