[Webtest] Out of memory when running WebTest

Lisa Crispin Lisa Crispin" <lisa.crispin@gmail.com
Wed, 18 Apr 2007 11:53:08 -0600


------=_Part_59955_24869246.1176918788207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Did you try this:
ANT_OPTS=-Xmx500m

I also have in an old email that the LANG variable can have an effect, we
now have ours set to en_US.UTF-8.

We run a pretty big suite of tests and we used to have a lot of problems
with memory running on a dual processor server with 2 gig of memory, but
it's ok now, and I think the above things are what solved it for us.
-- Lisa

On 4/18/07, Tim Miller <tmiller@edgedynamics.com> wrote:
>
>  I have a project which contains 12 WebTests, each WebTest contains
> approximately 50-60 steps. I can only run 4 of the WebTests at a time.
> Anything more and I get an out of memory. Each WebTest seems to use about .1
> GB of memory when it runs, the memory usage never goes down once each
> WebTest completes. Eventually, it just locks up the machine then returns out
> of memory. I have 2 GB of memory on the machine.
>
>
>
> WebTest is run from an Ant script which runs java on
> org.apache.tools.ant.launch.Launcher, fork=true, maxmemory=1024m.
>
>
>
> WebTest: build 1453
>
> Ant: 1.6.5 (also tried 1.7.0)
>
>
>
> I am including the WebTest taskdef only once as was suggested in eariler
> discussions. I am using the xml results output. Any ideas?
>
>
>
> Tim
>
>
>
> (This email message is for the sole use of the intended recipient(s) and
> may contain confidential information.  Any unauthorized review, use,
> disclosure or distribution is prohibited.  If you are not the intended
> recipient, please contact the sender by reply email and destroy all copies
> of the original message.)
>
>
>



-- 
Lisa Crispin
Co-author,
Testing Extreme Programming
http://lisa.crispin.home.att.net

------=_Part_59955_24869246.1176918788207
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Did you try this:<br>ANT_OPTS=-Xmx500m<br><br>I also have in an old email that the LANG variable can have an effect, we now have ours set to en_US.UTF-8.&nbsp; <br><br>We run a pretty big suite of tests and we used to have a lot of problems with memory running on a dual processor server with 2 gig of memory, but it&#39;s ok now, and I think the above things are what solved it for us.
<br>-- Lisa<br><br><div><span class="gmail_quote">On 4/18/07, <b class="gmail_sendername">Tim Miller</b> &lt;<a href="mailto:tmiller@edgedynamics.com">tmiller@edgedynamics.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I have a project which contains 12 WebTests, each WebTest
contains approximately 50-60 steps. I can only run 4 of the WebTests at a time.
Anything more and I get an out of memory. Each WebTest seems to use about .1 GB
of memory when it runs, the memory usage never goes down once each WebTest
completes. Eventually, it just locks up the machine then returns out of memory.
I have 2 GB of memory on the machine.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">WebTest is run from an Ant script which runs java on org.apache.tools.ant.launch.Launcher,
fork=true, maxmemory=1024m.</span></font></p>

<p><font color="black" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: black;">&nbsp;</span></font></p>

<p><font color="black" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: black;">WebTest: build 1453</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Ant: 1.6.5 (also tried 1.7.0)</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I am including the WebTest taskdef only once as was
suggested in eariler discussions. I am using the xml results output. Any ideas?</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Tim</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="1"><span style="font-size: 7.5pt; font-family: Arial;">(This email message is for the sole use of the intended
recipient(s) and may contain confidential information.&nbsp; Any unauthorized
review, use, disclosure or distribution is prohibited.&nbsp; If you are not the
intended recipient, please contact the sender by reply email and destroy all
copies of the original message.)</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

</div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br>Lisa Crispin<br>Co-author, <br>Testing Extreme Programming<br><a href="http://lisa.crispin.home.att.net">http://lisa.crispin.home.att.net</a>

------=_Part_59955_24869246.1176918788207--