[Webtest] Any way to free memory?

Marc Guillemot webtest@lists.canoo.com
Mon, 25 Apr 2005 10:50:28 +0200


The solution would be to write a new reporter writing a main index file and a result file per test. If someone has time 
for that....

Marc.

Lisa Crispin wrote:
> We seem to have hit a threshold on our build server (dual processor amd 
> running Red Hat Fedora Core 3, 2 gig memory).  When our test suite is 
> running, the java process grows to 1.1 gig, then the suite just seems to 
> hang.  It has problems writing results.xml, which has grown to 20meg at 
> this point (when it hangs).  We can run the same suite on other 
> machines, it runs to completion, but also the process grows - up to 600 
> meg on a Windows machine.  This would indicate that the damn thing just 
> grows and grows and grows. 
>  
> Below is an excerpt from our build.xml.  We have 43 scripts of various 
> sizes. It would be nice if we could free memory in between each script.  
> Is there a way to do this?  We've already bumped up our ant process to 
> 800 meg of memory, and done every suggestion we found in the mailing 
> list archives that seemed relevant. 
>  
> Please help, we've hit a wall and we are dependent on these tests 
> running every night.
>  
>     <target name="run-nightly-canoo" depends="canoo-taskdef" 
> description="Runs c
> anoo tests in nightly build only (requires running application).">
>         <delete dir="${resultsPath}"/>
>         <mkdir dir="${resultsPath}"/>
>         <ant antfile="${test.webtest.scripts.dir}/PlanEstTourTest.xml"/>
>         <ant antfile="${test.webtest.scripts.dir}/CSRUpdUserPsw.xml"/>
>  
> Thank you!
> -- Lisa