Posted by: Admin on: January 15, 2009
If your tests are running out of memory when they run via Maven you can pass through the relevant JVM args, likely just -Xmx, in the pom, like this: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <argLine>-Xmx512m</argLine> </configuration> </plugin>