I'm trying that now. I have to wait for a while to see if it works. Anyway, I would like to know how can I separate the reports, and how can I make webtest to generate the htmls for each Test class, as soon as it is finished, so I don't have to wait till all tests finish. Any idea? Thanks.
On Thu, Feb 25, 2010 at 9:27 AM, Soula, William <[email protected]>wrote: > 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 > -- Germán Mauricio Muñoz

