[Webtest] Re: OutOfMemoryExecption

Richard Hill webtest@lists.canoo.com
Wed, 28 Apr 2004 15:28:31 -0700


Linux:=20
You can set it in the .bashrc file
ANT_OPTS=3D"-server"
export ANT_OPTS

Windows:=20
You can create a new system variable under System Properties.

-----Original Message-----
From: lisa.crispin@att.net [mailto:lisa.crispin@att.net]
Sent: Wednesday, April 28, 2004 2:34 PM
To: webtest@gate2.canoo.com
Subject: Re: [Webtest] Re: OutOfMemoryExecption


I just got an OutOfMemoryException when I tried to run a bunch of Canoo
tests in one ant target.  I'm afraid I don't know the terminology here
but I just have a target in build.xml that runs 7 tests one after the
other.  For now I just split them into 2 ant targets and that seems ok.

Where is this ANT-OPTS set, is it just an environment variable? =20
Thanks,
Lisa


>=20
> I just define the tasks once. In fact, i have just one build.xml,=20
> automatically generated, containing one webtest task and 6000 webtest=20
> steps.  That's wy I want to know if there is a limit in number of
steps=20
> in a given webtest task.
>=20
> Marc Guillemot wrote:
>=20
> > Do you have a global definition of the webtest ant tasks used once
or=20
> > do you define them again in each test? We have no
OutOfMemoryExecption=20
> > problems since we load the webtest ant tasks only once. We currently

> > run ~100 tests without problem.
> >
> > Marc.
> >
> >
> > Renato Gasparelli Cavalcante wrote:
> >
> >>    hi
> >>
> >>    I have a test scenario that always fails reporting a=20
> >> OutOfMemoryExecption, i set the "ANT_OPTS" with "-Xmx1024M" but the

> >> problem continues, can some one help me?
> >>
> >> ps: webtest use "dom" or "sax" jar ?
> >>
> >> ps2: there is a maximum number of steps suggested in a webtest
scenario?
> >
> >
> >
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com
> > http://lists.canoo.com/mailman/listinfo/webtest
>=20
>=20
>=20
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest