Skip to content

Commit

Permalink
chore(codegen): set JVM memory size to 4gb
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP committed Nov 19, 2021
1 parent 6ae48e9 commit 9d7b4ef
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 = ['-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 9d7b4ef

Please sign in to comment.