From 5e0d772226b58492f1a68b65c2055276722bf309 Mon Sep 17 00:00:00 2001 From: Yuhui Date: Mon, 2 Sep 2024 01:17:58 +0800 Subject: [PATCH] [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 50e62de3b6..3e47891f84 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"))