Skip to content

Commit 841660b

Browse files
committed
Increase maximum heap size for Maven Surefire plugin and disable system class loader
1 parent b4353be commit 841660b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,9 @@
262262
<artifactId>maven-surefire-plugin</artifactId>
263263
<version>2.22.2</version>
264264
<configuration>
265-
<argLine>-Xmx1024m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true</argLine>
265+
<argLine>-Xmx2048m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true</argLine>
266266
<reuseForks>false</reuseForks>
267+
<useSystemClassLoader>false</useSystemClassLoader>
267268
<reportFormat>plain</reportFormat>
268269
<systemPropertyVariables>
269270
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>

0 commit comments

Comments
 (0)