Hi,

Try something like this:
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <inherited>true</inherited>
    <configuration>
        <skipTests>false</skipTests>
        <forkMode>once</forkMode>
        <argLine>-Xmx512m -XX:MaxPermSize=256m</argLine>
    </configuration>
</plugin>

maybe check out the perTest forkMode.

Regards,
Peter

2010-06-28 11:08 keltezéssel, Swanthe Lindgren írta:
> 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

Reply via email to