[Webtest] Out of Memory problems
yuetang deng
webtest@lists.canoo.com
Wed, 13 Jul 2005 22:00:07 -0700
I have the same problem
Easy solution: change the JAVA_OPS in your webtest.sh or webtest.bat,
increase the heap mem size.
On 7/13/05, Walker, Brendan <Brendan.Walker@sensis.com.au> wrote:
> =20
> =20
>=20
> Hi everyone,=20
>=20
> =20
>=20
> I'm pulling my hair out at the moment with Out of Memory issues when tryi=
ng
> to upgrade from v1.6 to version 1.7 build 922.=20
>=20
> =20
>=20
> 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.=20
>=20
> =20
>=20
> Now that I've converted to 1.7 I'm consistently getting OutOfMemory probl=
ems
> 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 k=
b,
> 81 kb, 2 kb, 204 kb, 70 kb and 14 kb before the OutOfMemory error occurs.=
)=20
>=20
> =20
>=20
> I'm not defining taskdef more than once as I'm using the following ant ta=
sk
> to prevent it from being executed more than once. This seems to be workin=
g
> as I only see the echo message once, at the start of the build.=20
>=20
> =20
>=20
> <target name=3D"webtestTaskdef" unless=3D"webtest.taskdef.defined">=20
>=20
> <echo message=3D"Defining webtest task" level=3D"info"/>=20
>=20
> <taskdef file=3D"${webtest.home}/webtestTaskdefs.properties">=20
>=20
> <classpath>=20
>=20
> <pathelement path=3D"${webtest.home}/lib" />=20
>=20
> <fileset dir=3D"${webtest.home}" includes=3D"lib/*.j=
ar" />=20
>=20
> </classpath>=20
>=20
> </taskdef>=20
>=20
> <property name=3D"webtest.taskdef.defined" value=3D"true"/>=20
>=20
> </target>=20
>=20
> =20
>=20
> Does any one have any other suggestions for fixing or analysing the probl=
em?
> I'd really like to upgrade so I can use the more advanced JavaScript
> options.=20
>=20
> =20
>=20
> Thanks to any who can help.=20
>=20
> =20
>=20
> Regards,=20
>=20
> Brendan Walker=20
>=20
> =20
> 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, lo=
ss
> 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]
>=20
>