Skip to content

Commit ee6ce77

Browse files
increase max heap size for unit tests
1 parent 60cc36a commit ee6ce77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@
878878
<artifactId>maven-surefire-plugin</artifactId>
879879
<version>2.14.1</version>
880880
<configuration>
881-
<argLine>-Xmx3g -Djava.awt.headless=true -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -Djava.net.preferIPv4Stack=true</argLine>
881+
<argLine>-Xmx5g -Djava.awt.headless=true -XX:MaxPermSize=256m -XX:+G1GC -XX:OnOutOfMemoryError="kill -9 %p" -XX:+HeapDumpOnOutOfMemoryError</argLine>
882882
<redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
883883
<reuseForks>false</reuseForks>
884884
<reportFormat>plain</reportFormat>

0 commit comments

Comments
 (0)