[Webtest] Re: out of memory

Stefan Ruff webtest@lists.canoo.com
Thu, 09 Oct 2003 08:40:52 +0200


Hi Marc 

Thank you very match. It works also for us. 

Stefan 


Marc Guillemot writes: 

> Hello Stefan, 
> 
> We've got an OutOfMemory problem too (on Linux and on Windows) and I've 
> just found a way to solv it. Perhaps it is the same cause by you: 
> 
> We have individual webtests in individual files and a master build file 
> that runs all the tests. The OutOfMemory first appeared when the number of 
> webtests grows over ~30. I've found that I was defining the webtest tasks 
> with an included &definition; in each individual webtest file and changing 
> it to define the webtest tasks only once in the master build file has 
> solved the problem. 
> 
> Hoping this helps. 
> 
> Marc. 
> 
> 
> Stefan Ruff wrote:
>> 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
>>  
>> 
>> 
>> _______________________________________________
>> 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