This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 5e0d77222 [4603] fix (test): Fix the OutOfMemoryError in the gradle
running testers (#4799)
5e0d77222 is described below
commit 5e0d772226b58492f1a68b65c2055276722bf309
Author: Yuhui <[email protected]>
AuthorDate: Mon Sep 2 01:17:58 2024 +0800
[4603] fix (test): Fix the OutOfMemoryError in the gradle running testers
(#4799)
### What changes were proposed in this pull request?
Fix the OutOfMemoryError in the gradle running testers
### Why are the changes needed?
Fix: #4603
### Does this PR introduce _any_ user-facing change?
NO
### How was this patch tested?
NO
---
build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build.gradle.kts b/build.gradle.kts
index 50e62de3b..3e47891f8 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -431,7 +431,7 @@ subprojects {
reports.html.outputLocation.set(file("${rootProject.projectDir}/build/reports/"))
val skipTests = project.hasProperty("skipTests")
if (!skipTests) {
- jvmArgs = listOf("-Xmx2G")
+ jvmArgs = listOf("-Xmx4G")
useJUnitPlatform()
jvmArgs(project.property("extraJvmArgs") as List<*>)
finalizedBy(tasks.getByName("jacocoTestReport"))