[Webtest] Re: out of memory

Stefan Ruff webtest@lists.canoo.com
Wed, 08 Oct 2003 08:59:08 +0200


Dear Richard 

We already use the ANT_OPTS=-server option. But still have the out of memory 
problem.
We are using windows and find out the we have to correct the ant.bat file.
The VM needs the Ėserver option as the first parameter. But ANT_OPTS isnít 
passed as first parameter to the VM in the batch file. 

Stefan, JoŽl 

Richard Hill writes: 

> Try using the ANT_OPTS=-server option. If you're using linux, try putting
> ANT_OPTS="-server" in your .bashrc file.  
> 
> -----Original Message-----
> From: linux guy [mailto:linuxguy@linuxmail.org]
> Sent: Monday, September 22, 2003 7:11 PM
> To: webtest@gate.canoo.com
> Subject: RE: [Webtest] out of memory 
> 
> 
> i'm using ant of the latest version 1.5.4 with webtest,
> I also encounter such out of memory error.
> ----- Original Message -----
> From: "Dierk Koenig" <dierk.koenig@canoo.com>
> Date: Fri, 19 Sep 2003 14:00:18 +0200
> To: <webtest@lists.canoo.com>
> Subject: RE: [Webtest] out of memory 
> 
>> There is a memory-leak in some ant versions.
>> The latest version is supposed to be best in this respect. 
>> 
>> cheers
>> Mittie 
>> 
>> > -----Original Message-----
>> > From: webtest-admin@lists.canoo.com
>> > [mailto:webtest-admin@lists.canoo.com]On Behalf Of Stefan Ruff
>> > Sent: Freitag, 19. September 2003 13:26
>> > To: webtest@lists.canoo.com
>> > Subject: [Webtest] out of memory
>> >
>> >
>> > Hi all
>> >
>> > we hava about 57 test-scenarios with more hhen 5200 single steps. in our
>> > nightly funktional test we run all scenarios in one ant file.
>> >
>> > <ant antfile="scenario_1"/>
>> > <ant antfile="scenario_2"/>
>> >
>> > Since a view days the nightly tests are aborted with the following
> error:
>> > BUILD FAILED
>> > java.lang.OutOfMemoryError
>> >        <<no stack trace available>>
>> >
>> > has somebody any idee what we can do ?
>> >
>> > We set the ANT_OPTS=-server -Xmx512m -Xms512m.
>> >
>> > Thanks
>> > Stefan, JoŽl
>> >
>> > _______________________________________________
>> > WebTest mailing list
>> > WebTest@lists.canoo.com
>> > http://lists.canoo.com/mailman/listinfo/webtest
>> >
>> > 
>> 
>> 
>> _______________________________________________
>> WebTest mailing list
>> WebTest@lists.canoo.com
>> http://lists.canoo.com/mailman/listinfo/webtest
> 
> -- 
> ______________________________________________
> http://www.linuxmail.org/
> Now with e-mail forwarding for only US$5.95/yr 
> 
> Powered by Outblaze
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest