Skip to content

Commit 775566b

Browse files
author
psainics
committed
Reduce maximum heap size for Maven Surefire plugin to improve test performance
1 parent f518c20 commit 775566b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
<artifactId>maven-surefire-plugin</artifactId>
263263
<version>2.14.1</version>
264264
<configuration>
265-
<argLine>-Xmx5000m -Djava.awt.headless=true -XX:MaxPermSize=1024m -XX:+UseConcMarkSweepGC -XX:OnOutOfMemoryError="kill -9 %p" -Djava.net.preferIPv4Stack=true</argLine>
265+
<argLine>-Xmx2048m -Djava.awt.headless=true -XX:+UseConcMarkSweepGC -XX:OnOutOfMemoryError="kill -9 %p" -Djava.net.preferIPv4Stack=true</argLine>
266266
<reuseForks>false</reuseForks>
267267
<reportFormat>plain</reportFormat>
268268
<systemPropertyVariables>

0 commit comments

Comments
 (0)