While executing a single
test everything is OK. But when I execute multiple tests in Netbeans using Alt=F6 I get
java heap space error. I tried to increase heaps space by using -Xmx512m but when I look the heaps space with Java VisualVM the heap space still stays on 64mb. I'm trying to increase the heap space of org.apache.maven.surefire.SurefireBooter but until now without success.
I also put <forkMode>pertest</forkMode> <argLine>-Xms512m -Xmx512m</argLine> </configuration> in the
maven POM but still without luck.
Know someone a trick to increase the heap space of maven module org.apache.maven.surefire.SurefireBooter?