Skip to content

Commit

Permalink
chore(codegen): set JVM memory size to 4gb (#3046)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP committed Dec 9, 2021
1 parent dbbf59f commit 5c63cef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions codegen/build.gradle.kts
Expand Up @@ -90,6 +90,10 @@ subprojects {
useJUnitPlatform()
}

tasks.withType<JavaExec> {
jvmArgs = listOf<String>("-Xms4g", "-Xmx4g")
}

// Apply junit 5 and hamcrest test dependencies to all java projects.
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.4.0")
Expand Down

0 comments on commit 5c63cef

Please sign in to comment.