Raise Gradle daemon heap to fix CI OOM on proprietary and saas builds

This commit is contained in:
Anthony Stirling
2026-06-13 13:24:40 +01:00
parent 3543ac97c6
commit 403bf550aa
+6
View File
@@ -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