[Webtest] Out of Memory problems

Marc Guillemot webtest@lists.canoo.com
Thu, 14 Jul 2005 08:52:42 +0200


On which OS are you running your tests? If Linux, with which char encoding?

Marc.

Walker, Brendan wrote:
> Hi everyone,
> 
>  
> 
> I’m pulling my hair out at the moment with Out of Memory issues when 
> trying to upgrade from v1.6 to version 1.7 build 922.
> 
>  
> 
> 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.
> 
>  
> 
> Now that I’ve converted to 1.7 I’m consistently getting OutOfMemory 
> problems 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 kb, 81 kb, 2 kb, 204 kb, 70 kb and 14 kb before the 
> OutOfMemory error occurs.)
> 
>  
> 
> I’m not defining taskdef more than once as I’m using the following ant 
> task to prevent it from being executed more than once. This seems to be 
> working as I only see the echo message once, at the start of the build.
> 
>  
> 
> <target name="webtestTaskdef" unless="webtest.taskdef.defined">
> 
>        <echo message="Defining webtest task" level="info"/>
> 
>        <taskdef file="${webtest.home}/webtestTaskdefs.properties">
> 
>               <classpath>
> 
>                      <pathelement path="${webtest.home}/lib" />
> 
>                      <fileset dir="${webtest.home}" includes="lib/*.jar" />
> 
>               </classpath>
> 
>        </taskdef>
> 
>        <property name="webtest.taskdef.defined" value="true"/>
> 
> </target>
> 
>  
> 
> Does any one have any other suggestions for fixing or analysing the 
> problem? I’d really like to upgrade so I can use the more advanced 
> JavaScript options.
> 
>  
> 
> Thanks to any who can help.
> 
>  
> 
> Regards,
> 
> Brendan Walker
> 
>  
> 
> 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, loss 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]
>