Skip to content

Commit

Permalink
[4603] fix (test): Fix the OutOfMemoryError in the gradle running tes…
Browse files Browse the repository at this point in the history
…ters (#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
  • Loading branch information
diqiu50 authored Sep 1, 2024
1 parent 252b4c4 commit 5e0d772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 5e0d772

Please sign in to comment.