[Webtest] Out of Memory problems
Walker, Brendan
webtest@lists.canoo.com
Thu, 14 Jul 2005 10:53:52 +1000
This is a multi-part message in MIME format.
------_=_NextPart_001_01C5880E.94AF9523
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi everyone,
=0D
I'm pulling my hair out at the moment with Out of Memory issues when
trying to upgrade from v1.6 to version 1.7 build 922.
=0D
We have about 6500 steps split over about 240 different testspecs. The
results are all added to one file which ends up about 3.2Mb big.
Occasionally we'd get OutOfMemory problems in v1.6, but it was only
occasional and the problem could be fixed by reducing the number of
testspecs in a given file.
=0D
Now that I've converted to 1.7 I'm consistently getting OutOfMemory
problems after a certain number of steps. I've gone through all the
archives and found nothing that helps. I've split the results files up,
and that didn't seem to help. (I've now got 6 results files, of which
the sizes are 130 kb, 81 kb, 2 kb, 204 kb, 70 kb and 14 kb before the
OutOfMemory error occurs.)
=0D
I'm not defining taskdef more than once as I'm using the following ant
task to prevent it from being executed more than once. This seems to be
working as I only see the echo message once, at the start of the build.
=0D
<target name=3D"webtestTaskdef" unless=3D"webtest.taskdef.defined">
<echo message=3D"Defining webtest task" level=3D"info"/>
<taskdef file=3D"${webtest.home}/webtestTaskdefs.properties">
<classpath>
<pathelement path=3D"${webtest.home}/lib" />
<fileset dir=3D"${webtest.home}" includes=
=3D"lib/*.jar"
/>
</classpath>
</taskdef>
<property name=3D"webtest.taskdef.defined" value=3D"true"/>
</target>
=0D
Does any one have any other suggestions for fixing or analysing the
problem? I'd really like to upgrade so I can use the more advanced
JavaScript options.
=0D
Thanks to any who can help.
=0D
Regards,
Brendan Walker
=0D
www.about.sensis.com.au
A leading Australian advertising, information and directories business.
www.sensis.com.au
www.yellowpages.com.au
www.whitepages.com.au
www.citysearch.com.au
www.whereis.com.au
www.telstra.com.au
www.tradingpost.com.au
www.universalpublishers.com.au
This email and any attachments are intended only for the use of the=
recipient and may be confidential and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss=
and/or damage arising from using, opening or transmitting this email.
If you are not the intended recipient you must not use, interfere with,=
disclose, copy or retain this email and you should notify the sender=
immediately by return email or by contacting Sensis Pty Ltd by telephone=
on [+61 3 8653 5000]
------_=_NextPart_001_01C5880E.94AF9523
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=
=3D"urn:schemas-microsoft-com:office:word" xmlns=
=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-AU link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>Hi everyone,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>I’m pulling my hair out at the moment with Out of
Memory issues when trying to upgrade from v1.6 to version 1.7 build=
922.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>We have about 6500 steps split over about 240 different
testspecs. The results are all added to one file which ends up about 3.2Mb=
big.
Occasionally we’d get OutOfMemory problems in v1.6, but it was only=
occasional
and the problem could be fixed by reducing the number of testspecs in a=
given
file.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>Now that I’ve converted to 1.7 I’m=
consistently
getting OutOfMemory problems after a certain number of steps. I’ve=
gone
through all the archives and found nothing that helps. I’ve split the
results files up, and that didn’t seem to help. (I’ve now got 6
results files, of which the sizes are 130 kb, 81 kb, 2 kb, 204 kb, 70 kb=
and 14
kb before the OutOfMemory error occurs.)<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>I’m not defining taskdef more than once as=
I’m
using the following ant task to prevent it from being executed more than=
once.
This seems to be working as I only see the echo message once, at the start=
of
the build.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 color=
=3D"#0000e1"
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:#0000E1;background:white'><target</span></font><font size=3D1
color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier New";
color:black;background:white'> </span></font><font size=3D1 color=
=3D"#0000e1"
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:#0000E1;background:white'>name=3D</span></font><font size=3D1 color=
=3Dnavy
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:navy;background:white'>"webtestTaskdef"</span></font><font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>unless=3D</span></font><font
size=3D1 color=3Dnavy face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier=
New";color:navy;background:white'>"webtest.taskdef.defined"</spa=
n></font><font
size=3D1 color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;
font-family:"Courier=
New";color:#0000E1;background:white'>></span></font><font
size=3D1 face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier=
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 color=
=3Dblack
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:black;background:white'> =
</span></font><font
size=3D1 color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;
font-family:"Courier=
New";color:#0000E1;background:white'><echo</span></font><font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>message=3D</span></font><font
size=3D1 color=3Dnavy face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:navy;background:white'>"Defining webtest=
task"</span></font><font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>level=3D</span></font><font=
size=3D1
color=3Dnavy face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier New";
color:navy;background:white'>"info"</span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>/></span></font><font size=
=3D1
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 color=
=3Dblack
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:black;background:white'> =
</span></font><font
size=3D1 color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;
font-family:"Courier=
New";color:#0000E1;background:white'><taskdef</span></font><font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>file=3D</span></font><font=
size=3D1
color=3Dnavy face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier New";
color:navy;background:white'>"${webtest.home}/webtestTaskdefs.properti=
es"</span></font><font
size=3D1 color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;
font-family:"Courier=
New";color:#0000E1;background:white'>></span></font><font
size=3D1 face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier=
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 color=
=3Dblack
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:black;background:white'> &nb=
sp; </span></font><font
size=3D1 color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;
font-family:"Courier=
New";color:#0000E1;background:white'><classpath></span></font><font
size=3D1 face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier=
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 color=
=3Dblack
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:black;background:white'> &nb=
sp; =
</span></font><font
size=3D1 color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;
font-family:"Courier=
New";color:#0000E1;background:white'><pathelement</span></font><font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>path=3D</span></font><font=
size=3D1
color=3Dnavy face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier New";
color:navy;background:white'>"${webtest.home}/lib"</span></font><=
font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>/></span></font><font size=
=3D1
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 color=
=3Dblack
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:black;background:white'> &nb=
sp; =
</span></font><font
size=3D1 color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;
font-family:"Courier=
New";color:#0000E1;background:white'><fileset</span></font><font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>dir=3D</span></font><font=
size=3D1
color=3Dnavy face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier New";
color:navy;background:white'>"${webtest.home}"</span></font><font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>includes=
=3D</span></font><font
size=3D1 color=3Dnavy face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier=
New";color:navy;background:white'>"lib/*.jar"</span></font><font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>/></span></font><font size=
=3D1
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 color=
=3Dblack
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:black;background:white'> &nb=
sp; </span></font><font
size=3D1 color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;
font-family:"Courier=
New";color:#0000E1;background:white'></classpath></span></font><font
size=3D1 face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier=
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 color=
=3Dblack
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:black;background:white'> =
</span></font><font
size=3D1 color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;
font-family:"Courier=
New";color:#0000E1;background:white'></taskdef></span></font><font
size=3D1 face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier=
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 color=
=3Dblack
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:black;background:white'> =
</span></font><font
size=3D1 color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;
font-family:"Courier=
New";color:#0000E1;background:white'><property</span></font><font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>name=3D</span></font><font=
size=3D1
color=3Dnavy face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier New";
color:navy;background:white'>"webtest.taskdef.defined"</span></fo=
nt><font
size=3D1 color=3Dblack face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:black;background:white'> </span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>value=3D</span></font><font=
size=3D1
color=3Dnavy face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:"Courier New";
color:navy;background:white'>"true"</span></font><font size=3D1
color=3D"#0000e1" face=3D"Courier New"><span style=
=3D'font-size:8.0pt;font-family:
"Courier New";color:#0000E1;background:white'>/></span></font><font size=
=3D1
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D1 color=
=3D"#0000e1"
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New";
color:#0000E1;background:white'></target></span></font><font size=3D1
face=3D"Courier New"><span style=3D'font-size:8.0pt;font-family:"Courier=
New"'><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>Does any one have any other suggestions for fixing or
analysing the problem? I’d really like to upgrade so I can use the=
more
advanced JavaScript options.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>Thanks to any who can help.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>Regards,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>Brendan Walker<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
<table><tr><td bgcolor=3D#ffffff><font color=
=3D#000000><pre>www.about.sensis.com.au
A leading Australian advertising, information and directories business.
www.sensis.com.au
www.yellowpages.com.au
www.whitepages.com.au
www.citysearch.com.au
www.whereis.com.au
www.telstra.com.au
www.tradingpost.com.au
www.universalpublishers.com.au
This email and any attachments are intended only for the use of the=
recipient and may be confidential and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss=
and/or damage arising from using, opening or transmitting this email.
If you are not the intended recipient you must not use, interfere with,=
disclose, copy or retain this email and you should notify the sender=
immediately by return email or by contacting Sensis Pty Ltd by telephone=
on [+61 3 8653 5000]
</pre></font></td></tr></table>
------_=_NextPart_001_01C5880E.94AF9523--