diff --git a/pom.xml b/pom.xml
index b604b3fab..443755a53 100644
--- a/pom.xml
+++ b/pom.xml
@@ -878,7 +878,7 @@
maven-surefire-plugin
2.14.1
- -Xmx3g -Djava.awt.headless=true -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -Djava.net.preferIPv4Stack=true
+ -Xmx5g -Djava.awt.headless=true -XX:+UseG1GC -XX:OnOutOfMemoryError="kill -9 %p" -XX:+HeapDumpOnOutOfMemoryError
${surefire.redirectTestOutputToFile}
false
plain