Archive for July, 2008
Maven: OutOfMemory in surefire tests
Posted by JohannesTheDeveloper in fun with Linux on July 29th, 2008
Or how to pass Xmx712M or Xmx1024m parameter to maven2 test runs:
In your pom, add the argLine parameter.
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.3</version>
<configuration>
<argLine>-Xmx712M</argLine>
</configuration>
</plugin>
Recent Comments