Hi. I have the following settings my my webtest.sh/bat file:
set JAVA_OPTS=-Xms128M -Xmx512M -Xss256k -XX:MaxPermSize=512m I am still running out of memory. I have about 180 tests (from 20 - 200 steps) and I get the error when webtest is trying to generate the html reports. Thanks Ian On 2 June 2010 12:23, Mgr. Martin Pichna <[email protected]> wrote: > Hi, > > I'm not sure whether it should be in webtest.xml. > > I have it in webtest.sh or webtest.bat (depending on OS - linux or > windows). So find CANOO_HOME dir and find the webtest.bat file > and after @setlocal there should be line like: > set JAVA_OPTS=-Xms64M -Xmx512M > And you can increase the Xmx size up to your free memory size. > > If variable JAVA_OPTS is missing in webtest.bat then add it (of course > add it to last line - which starts with exec ). > > Regards, > Martin > > > > Hi. > > > > I have found the following solution to my problem but not sure > > how/where in webtest.xml to implement it. > > > > > > http://old.nabble.com/java.lang.OutOfMemoryError:-Java-heap-space-td15333287.html > > > > Can someone guide me as to what to put where in the webtest.xml file > > to increase the java heap space? I have been putting my settings in > > the webtest.sh file but I still have problems. > > > > My build is currently failing when it comes to generate the reports > > at the end of the test run. > > > > Thanks > > > > Ian > > On 2.6.2010 12:01, [email protected] wrote: > > Send WebTest mailing list submissions to > > [email protected] > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.canoo.com/mailman/listinfo/webtest > > or, via email, send a message with subject or body 'help' to > > [email protected] > > > > You can reach the person managing the list at > > [email protected] > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of WebTest digest..." > > > > > > > > > > Today's Topics: > > > > 1. java.lang.OutOfMemoryError: Java heap space (Ian Phillips) > > > > > > > > _______________________________________________ > > WebTest mailing list > > [email protected] > > http://lists.canoo.com/mailman/listinfo/webtest > > > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest >

