[Webtest] Any way to free memory?

Lisa Crispin webtest@lists.canoo.com
Fri, 22 Apr 2005 15:06:28 +0000


--NextPart_Webmail_9m3u9jl4l_12940_1114182388_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

I will give that a try, thanks.
-- Lisa


-------------- Original message from "Ji Kim" <Ji.Kim@cnet.com>: -------------- 


Have you tried using separate result files to make them smaller? ( resultfile= in <config>)
I haven't read the mailing list for sometime. I am not up to date what has been changing.

Ji



From: webtest-admin@gate2.canoo.com [mailto:webtest-admin@gate2.canoo.com] On Behalf Of Lisa Crispin
Sent: Thursday, April 21, 2005 5:44 PM
To: webtest@gate2.canoo.com
Subject: [Webtest] Any way to free memory?


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
--NextPart_Webmail_9m3u9jl4l_12940_1114182388_0
Content-Type: text/html
Content-Transfer-Encoding: 8bit

<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<DIV>I will give that a try, thanks.</DIV>
<DIV>-- Lisa</DIV><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message from "Ji Kim" &lt;Ji.Kim@cnet.com&gt;: -------------- <BR><BR><!-- BEGIN WEBMAIL STATIONERY -->
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=915390801-22042005>Have you tried using separate result files to make them smaller? (<!--StartFragment --><FONT face="Times New Roman" size=3> resultfile= in &lt;config&gt;)</FONT></SPAN></DIV>
<DIV><SPAN class=915390801-22042005></SPAN>I&nbsp;haven't&nbsp;read&nbsp;the&nbsp;mailing&nbsp;list&nbsp;for&nbsp;sometime.&nbsp;I&nbsp;am&nbsp;not&nbsp;up&nbsp;to&nbsp;date&nbsp;what&nbsp;has&nbsp;been&nbsp;changing.</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=915390801-22042005></SPAN><FONT face=Arial><FONT size=2>J<SPAN class=915390801-22042005>i</SPAN></FONT></FONT><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> webtest-admin@gate2.canoo.com [mailto:webtest-admin@gate2.canoo.com] <B>On Behalf Of </B>Lisa Crispin<BR><B>Sent:</B> Thursday, April 21, 2005 5:44 PM<BR><B>To:</B> webtest@gate2.canoo.com<BR><B>Subject:</B> [Webtest] Any way to free memory?<BR></FONT><BR></DIV>
<DIV></DIV><!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<DIV>We seem to have hit a threshold on our build server (dual processor amd running Red Hat Fedora Core 3, 2 gig memory).&nbsp; When our test suite is running, the java process grows to 1.1 gig, then the suite just seems to hang.&nbsp; It has problems writing results.xml, which has grown to 20meg at this point (when it hangs).&nbsp; 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.&nbsp; This would indicate that the damn thing just grows and grows and grows.&nbsp; </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV>Below&nbsp;is an excerpt from our build.xml.&nbsp; We have 43 scripts of various sizes. It would be nice if we could free memory in between each script.&nbsp; Is there a way to do this?&nbsp; 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.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>Please help, we've hit a wall and we are dependent on these tests running every night.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &lt;target name="run-nightly-canoo" depends="canoo-taskdef" description="Runs c<BR>anoo tests in nightly build only (requires running application)."&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;delete dir="${resultsPath}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mkdir dir="${resultsPath}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ant antfile="${test.webtest.scripts.dir}/PlanEstTourTest.xml"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ant antfile="${test.webtest.scripts.dir}/CSRUpdUserPsw.xml"/&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you!</DIV>
<DIV>-- Lisa</DIV><!-- END WEBMAIL STATIONERY --></BLOCKQUOTE>
<!-- END WEBMAIL STATIONERY -->

</body>
</html>

--NextPart_Webmail_9m3u9jl4l_12940_1114182388_0--