[Webtest] Out of memory when running WebTest
Marc Guillemot <firstname.lastname@example.org>
Fri, 20 Apr 2007 10:07:43 +0200
the WebTestResults.xml doesn't help.
Is it possible to run your tests with js disabled? This would allow to
see if the problem is related to that.
Tim Miller wrote:
> No PDF or Excel files are processed, there is some JS in the pages.
> About 214 result pages are returned. I switched to a larger machine with
> 8 GB and was able to run 8 of the tests successfully, though the last
> test took some time to complete. I then enabled the remaining 4 tests
> and got an out of memory. I have some sqlunit calls which return a very
> small amount of data, 1 or 2 rows. I have not done any profiling as yet.
> I can provide you with the WebTestResults.xml which is about 779 KB if
> that is any help.
>> -----Original Message-----
>> From: email@example.com
>> On Behalf Of Marc Guillemot
>> Sent: Thursday, April 19, 2007 8:28 AM
>> To: firstname.lastname@example.org
>> Subject: Re: [Webtest] Out of memory when running WebTest
>> Quite strange. I'm used to run test sequence more than 100 times
>> than yours without problem.
>> Have you tried to profile WebTest to see where is the lost memory? Is
>> involved? PDF files? Excel files? Many windows?
>> Tim Miller wrote:
>>> I have a project which contains 12 WebTests, each WebTest contains
>>> approximately 50-60 steps. I can only run 4 of the WebTests at a
>>> Anything more and I get an out of memory. Each WebTest seems to use
>>> about .1 GB of memory when it runs, the memory usage never goes down
>>> once each WebTest completes. Eventually, it just locks up the
>>> then returns out of memory. I have 2 GB of memory on the machine.
>>> WebTest is run from an Ant script which runs java on
>>> org.apache.tools.ant.launch.Launcher, fork=true, maxmemory=1024m.
>>> WebTest: build 1453
>>> Ant: 1.6.5 (also tried 1.7.0)
>>> I am including the WebTest taskdef only once as was suggested in
>>> discussions. I am using the xml results output. Any ideas?
>>> (This email message is for the sole use of the intended recipient(s)
>>> may contain confidential information. Any unauthorized review, use,
>>> disclosure or distribution is prohibited. If you are not the
>>> recipient, please contact the sender by reply email and destroy all
>>> copies of the original message.)
>> WebTest mailing list
> WebTest mailing list