Skip to content

Commit

Permalink
Bump up max heap memory for unit tests from 1.5 GB to 2 GB. (apache#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekrb19 authored Dec 7, 2023
1 parent 82ac487 commit b541000
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1725,7 +1725,9 @@
@{jacocoArgLine}
${jdk.strong.encapsulation.argLine}
${jdk.security.manager.allow.argLine}
-Xmx1500m
<!-- Bump up memory from 1.5 GB to 2 GB. This is particularly needed for JDK 17 where
we have jfr profiler enabled which adds additional memory pressure. -->
-Xmx2048m
-XX:MaxDirectMemorySize=2500m
-XX:+ExitOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
Expand Down

0 comments on commit b541000

Please sign in to comment.