[Webtest] Any way to free memory?

Ji Kim webtest@lists.canoo.com
Thu, 21 Apr 2005 18:18:50 -0700


This is a multi-part message in MIME format.

------_=_NextPart_001_01C546D9.7B107D07
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Have you tried using separate result files to make them smaller? (
resultfile=3D in <config>)
I haven't read the mailing list for sometime. I am not up to date what
has been changing.
=20
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. =20
=20
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. =20
=20
Please help, we've hit a wall and we are dependent on these tests
running every night.
=20
    <target name=3D"run-nightly-canoo" depends=3D"canoo-taskdef"
description=3D"Runs c
anoo tests in nightly build only (requires running application).">
        <delete dir=3D"${resultsPath}"/>
        <mkdir dir=3D"${resultsPath}"/>
        <ant =
antfile=3D"${test.webtest.scripts.dir}/PlanEstTourTest.xml"/>
        <ant antfile=3D"${test.webtest.scripts.dir}/CSRUpdUserPsw.xml"/>
=20
Thank you!
-- Lisa

------_=_NextPart_001_01C546D9.7B107D07
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><!-- BEGIN WEBMAIL STATIONERY -->
<META content=3D"MSHTML 6.00.2900.2627" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D915390801-22042005>Have you =
tried using=20
separate result files to make them smaller? (<!--StartFragment --><FONT=20
face=3D"Times New Roman" size=3D3> resultfile=3D in=20
&lt;config&gt;)</FONT></SPAN></DIV>
<DIV><SPAN=20
class=3D915390801-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=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D915390801-22042005></SPAN><FONT face=3DArial><FONT =
size=3D2>J<SPAN=20
class=3D915390801-22042005>i</SPAN></FONT></FONT><BR></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> webtest-admin@gate2.canoo.com=20
[mailto:webtest-admin@gate2.canoo.com] <B>On Behalf Of </B>Lisa=20
Crispin<BR><B>Sent:</B> Thursday, April 21, 2005 5:44 PM<BR><B>To:</B>=20
webtest@gate2.canoo.com<BR><B>Subject:</B> [Webtest] Any way to free=20
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=20
running Red Hat Fedora Core 3, 2 gig memory).&nbsp; When our test suite =
is=20
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=20
this point (when it hangs).&nbsp; We can run the same suite on other =
machines,=20
it runs to completion, but also the process grows - up to 600 meg on a =
Windows=20
machine.&nbsp; This would indicate that the damn thing just grows and =
grows and=20
grows.&nbsp; </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV>Below&nbsp;is an excerpt from our build.xml.&nbsp; We have 43 =
scripts of=20
various sizes. It would be nice if we could free memory in between each=20
script.&nbsp; Is there a way to do this?&nbsp; We've already bumped up =
our ant=20
process to 800 meg of memory, and done every suggestion we found in the =
mailing=20
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=20
every night.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &lt;target name=3D"run-nightly-canoo"=20
depends=3D"canoo-taskdef" description=3D"Runs c<BR>anoo tests in nightly =
build only=20
(requires running=20
application)."&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;delete=20
dir=3D"${resultsPath}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
&lt;mkdir=20
dir=3D"${resultsPath}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 &lt;ant=20
antfile=3D"${test.webtest.scripts.dir}/PlanEstTourTest.xml"/&gt;<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
&lt;ant =
antfile=3D"${test.webtest.scripts.dir}/CSRUpdUserPsw.xml"/&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you!</DIV>
<DIV>-- Lisa</DIV><!-- END WEBMAIL STATIONERY --></BODY></HTML>

------_=_NextPart_001_01C546D9.7B107D07--