We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60cc36a commit ee6ce77Copy full SHA for ee6ce77
pom.xml
@@ -878,7 +878,7 @@
878
<artifactId>maven-surefire-plugin</artifactId>
879
<version>2.14.1</version>
880
<configuration>
881
- <argLine>-Xmx3g -Djava.awt.headless=true -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -Djava.net.preferIPv4Stack=true</argLine>
+ <argLine>-Xmx5g -Djava.awt.headless=true -XX:MaxPermSize=256m -XX:+G1GC -XX:OnOutOfMemoryError="kill -9 %p" -XX:+HeapDumpOnOutOfMemoryError</argLine>
882
<redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
883
<reuseForks>false</reuseForks>
884
<reportFormat>plain</reportFormat>
0 commit comments