[Webtest] Out of Memory problems

Walker, Brendan webtest@lists.canoo.com
Thu, 14 Jul 2005 18:00:58 +1000


G'day Marc,=0D

I'm running on WinXP. I'm running the tests through Eclipse so I've most
likely got to fix something there. When I run the test from the command
line with the ANT_OPTS set to -Xmx256M, it works. Is the newer version
supposed to use so much more memory than before?

Cheers,
Brendan

-----Original Message-----
From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com] On Behalf Of Marc Guillemot
Sent: Thursday, 14 July 2005 4:53 PM
To: webtest@lists.canoo.com
Subject: Re: [Webtest] Out of Memory problems

On which OS are you running your tests? If Linux, with which char
encoding?

Marc.

Walker, Brendan wrote:
> Hi everyone,
>=0D
> =0D
>=0D
> I'm pulling my hair out at the moment with Out of Memory issues when=0D
> trying to upgrade from v1.6 to version 1.7 build 922.
>=0D
> =0D
>=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.=0D
> Occasionally we'd get OutOfMemory problems in v1.6, but it was only=0D
> occasional and the problem could be fixed by reducing the number of=0D
> testspecs in a given file.
>=0D
> =0D
>=0D
> Now that I've converted to 1.7 I'm consistently getting OutOfMemory=0D
> problems after a certain number of steps. I've gone through all the=0D
> archives and found nothing that helps. I've split the results files
up,=0D
> and that didn't seem to help. (I've now got 6 results files, of which=0D
> the sizes are 130 kb, 81 kb, 2 kb, 204 kb, 70 kb and 14 kb before the=0D
> OutOfMemory error occurs.)
>=0D
> =0D
>=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=0D
> working as I only see the echo message once, at the start of the
build.
>=0D
> =0D
>=0D
> <target name=3D"webtestTaskdef" unless=3D"webtest.taskdef.defined">
>=0D
>        <echo message=3D"Defining webtest task" level=3D"info"/>
>=0D
>        <taskdef file=3D"${webtest.home}/webtestTaskdefs.properties">
>=0D
>               <classpath>
>=0D
>                      <pathelement path=3D"${webtest.home}/lib" />
>=0D
>                      <fileset dir=3D"${webtest.home}"
includes=3D"lib/*.jar" />
>=0D
>               </classpath>
>=0D
>        </taskdef>
>=0D
>        <property name=3D"webtest.taskdef.defined" value=3D"true"/>
>=0D
> </target>
>=0D
> =0D
>=0D
> Does any one have any other suggestions for fixing or analysing the=0D
> problem? I'd really like to upgrade so I can use the more advanced=0D
> JavaScript options.
>=0D
> =0D
>=0D
> Thanks to any who can help.
>=0D
> =0D
>=0D
> Regards,
>=0D
> Brendan Walker
>=0D
> =0D
>=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]
>=0D

_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest



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]