Skip to content

Commit

Permalink
increase max heap size for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
itsankit-google committed Jan 16, 2023
1 parent 60cc36a commit ee6ce77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14.1</version>
<configuration>
<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>
<redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
<reuseForks>false</reuseForks>
<reportFormat>plain</reportFormat>
Expand Down

0 comments on commit ee6ce77

Please sign in to comment.