Re: OutOfMemoryError with lots of unit tests

2010-06-29 Thread Swanthe Lindgren
Thank you, it works //Swanthe On 2010-06-28 11:14, Major Péter wrote: Hi, Try something like this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId inheritedtrue/inherited configuration skipTestsfalse/skipTests

Re: OutOfMemoryError with lots of unit tests

2010-06-28 Thread Martin Makundi
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

Re: OutOfMemoryError with lots of unit tests

2010-06-28 Thread Major Péter
Hi, Try something like this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId inheritedtrue/inherited configuration skipTestsfalse/skipTests forkModeonce/forkMode argLine-Xmx512m -XX:MaxPermSize=256m/argLine

Re: OutOfMemoryError with lots of unit tests

2010-06-28 Thread Zilvinas Vilutis
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 majorpe...@sch.bme.hu Hi, Try something like this: plugin