10 messages in com.canoo.lists.webtestRe: [Webtest] Out of memory when runn...
FromSent OnAttachments
Tim Miller18 Apr 2007 10:38 
Lisa Crispin18 Apr 2007 10:52 
Marc Guillemot19 Apr 2007 08:27 
Tim Miller19 Apr 2007 14:59 
Marc Guillemot20 Apr 2007 01:07 
Tim Miller20 Apr 2007 10:39 
Marc Guillemot23 Apr 2007 00:57 
Tim Miller23 Apr 2007 08:28 
Rob Manthey23 Apr 2007 19:23 
Michael Habbert24 Apr 2007 01:12 
Subject:Re: [Webtest] Out of memory when running WebTest
From:Michael Habbert (Mich@netpioneer.de)
Date:04/24/2007 01:12:38 AM
List:com.canoo.lists.webtest

Hi Rob,

Rob Manthey wrote:

[I finally found the correct address that I am subscribed to this list via]

Just so you don't think you're "Pat Malone", I have all these same problems and have had them since I started using webtest years ago. Yes, I have tried all the tips given so far (except the UTF one, that's a new one to me) and I still get the memory usage accumulating until the cpu finally is doing nothing but trying to manage memory and there endeth the tests. "kaboom". Yes I have a medium (not huge, not trivial) amount of tests doing very ordinary things; no radical architecture or js libraries in use. If you search back through the archives you'll find a regular history of concerns about this memory bloat. Despite a number of on and off list attempts to crack the problem on my set of tests, I still have the problem and I split my tests into 3 large but consumable groups run via a *shell script* to absolutely dump the jvm between tests. This works but its grotty - I would get "marked down in an exam" - so I wouldn't be shouting it from the rooftops as a success. RM

[...]

I do have the same problem with the memory an a large amount of tests. When I
got in charge with the webtests of our project each webtest called - starting a new jvm - to avoid
OutOfMemoryExceptions. ;-) We did this with ant-functionality not by shell-script. So if there is nothing
wrong with our webtest-setup we share the memory bloat.

Regards -- Mit freundlichen Grüßen