[Webtest] Re: OutOfMemoryExecption

webtest@lists.canoo.com webtest@lists.canoo.com
Wed, 28 Apr 2004 21:34:19 +0000


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?  
Thanks,
Lisa


> 
> I just define the tasks once. In fact, i have just one build.xml, 
> automatically generated, containing one webtest task and 6000 webtest 
> steps.  That's wy I want to know if there is a limit in number of steps 
> in a given webtest task.
> 
> Marc Guillemot wrote:
> 
> > Do you have a global definition of the webtest ant tasks used once or 
> > do you define them again in each test? We have no OutOfMemoryExecption 
> > 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 
> >> 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
> 
> 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest