Bump up max heap memory for unit tests from 1.5 GB to 2 GB. (#15507)

This commit is contained in:
Abhishek Radhakrishnan 2023-12-07 02:04:04 -08:00 committed by GitHub
parent 82ac48786b
commit b541000d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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