500+ testcases in Lucene 4.10.2 cause OOM and PermGen errors ..this configuration cured OOM and PermGen errors
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.18.1</version> <configuration> <argLine>-Xms2048M -Xmx3192M -XX:PermSize=3192M -XX:MaxPermSize=6144m</argLine> <parallel>methods</parallel> <useUnlimitedThreads>true</useUnlimitedThreads> <forkCount>${surefire.forkNumber}</forkCount> <reuseForks>false</reuseForks> </configuration> </plugin> http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html YMMV, Martin ___________ > Date: Sat, 7 Feb 2015 12:11:46 -0700 > From: tibordig...@apache.org > To: dev@maven.apache.org > Subject: Re: Slave windows2 machine crashed > > Failed again with OOM. I guess the machine self restarted before this run > https://builds.apache.org/job/maven-surefire-windows/773/org.apache.maven.surefire$surefire-integration-tests/testReport/org.apache.maven.surefire.its/XmlReporterRunTimeIT/testForkModeAlways/ > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Slave-windows2-machine-crashed-tp5826082p5826085.html > Sent from the Maven Developers mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org >