Have you tried to set the memory options of java(?)  I use ant to run my 
webtests and I have an environment variable called ANT_OPTS with the value of 
-Xmx1024m to set the max memory of java, otherwise it runs with much less 
memory and can run out like you have seen.  I am currently doing some pretty 
intensive multi-threaded testing and had to bump that number up to 8192.

________________________________

Hello,

I'm trying to run some tests from groovy code, and I get a 
java.lang.OutOfMemoryError: Java heap space, when it's trying to create html 
reports.
As I see the issue is that there are more than 5000 tests. And it gets out of 
space trying to generate the report for that.

What I want to do is to separate reports by test class, and make webtest to 
generate the report for each test class as soon as each one is finished.
Any idea on how should I do that?
Could be that I'm setting up something wrong and that gives me the 
OutOfMemoryError?

If you need any details , let me know.

Any help will be greatly appreciated.

--
Mauricio

Reply via email to