Skip to content

Commit

Permalink
Bump up -Xmx2500m from 2GB and keep MaxDirectMemorySize as 2500m as w…
Browse files Browse the repository at this point in the history
…ell. (apache#17056)
  • Loading branch information
abhishekrb19 authored Sep 13, 2024
1 parent a8c06e9 commit 7a0d7d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1765,9 +1765,7 @@
@{jacocoArgLine}
${jdk.strong.encapsulation.argLine}
${jdk.security.manager.allow.argLine}
<!-- 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
-Xmx2500m
-XX:MaxDirectMemorySize=2500m
-XX:+ExitOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
Expand Down

0 comments on commit 7a0d7d1

Please sign in to comment.