Re: OutOfMemoryError with lots of unit tests
Thank you, it works //Swanthe On 2010-06-28 11:14, Major Péter wrote: Hi, Try something like this: org.apache.maven.plugins maven-surefire-plugin true false once -Xmx512m -XX:MaxPermSize=256m 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: OutOfMemoryError with lots of unit tests
perTest is deprecated I think, you should use "always" - although it adds additional time for each test run. Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com 2010/6/28 Major Péter > Hi, > > Try something like this: > >org.apache.maven.plugins >maven-surefire-plugin >true > >false >once >-Xmx512m -XX:MaxPermSize=256m > > > > 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 > >
Re: OutOfMemoryError with lots of unit tests
Hi, Try something like this: org.apache.maven.plugins maven-surefire-plugin true false once -Xmx512m -XX:MaxPermSize=256m 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
Re: OutOfMemoryError with lots of unit tests
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 : > 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