Try this as args:

-Xms356m
-Xmx1024m
-XX:MaxPermSize=356m
-XX:HeapDumpPath=c:/temp
-Xss1024k


Also you can reuse Application instance etc.

**
Martin

2010/6/28 Swanthe Lindgren <swanthe.lindg...@megasol.se>:
> Hello
> Has someone got any good tips about performing lots of render tests? We are
> using TestNG and maven/surefire test runner which results in
> OutOfMemoryError for our about 500 tests, where each test tries to render a
> page or panel. After a bit of redesigning our test classes and call
> WicketTester.destroy()  after each test, we were able to run about 50 more
> tests, but now we are back at OutOfMemoryError.
>
> //Swanthe
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to