diff --git a/gradle.properties b/gradle.properties index 3916ad9c06..2c8b82f441 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,9 @@ +# Daemon heap. Gradle's small default OOMs ("daemon GC thrashing" / "Java heap space") on the CI +# runners for the proprietary and saas flavors, which pull in more modules and run Quarkus +# augmentation plus parallel test execution in the daemon. 4g fits comfortably on the 16GB build +# runners (the core flavor has fewer modules and passed even on the default heap). +org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g + # Enables parallel execution of tasks, allowing multiple tasks to run simultaneously org.gradle.parallel=true