Modern Apps git

← Modern-Apps.git

ci: bump Gradle daemon MaxMetaspaceSize to 1024m

Commit
1ffc5c7d64da212aecb38ec80c9e995799c8181f
Author
Vayun Mathur <[email protected]>
When
2026-05-30 21:28 UTC (6 months ago)
Parents
0876645

Diff

gradle.properties
diff --git a/gradle.properties b/gradle.propertiesindex 2f7efac5cb..143b7de597 100644--- a/gradle.properties+++ b/gradle.properties@@ -1,6 +1,11 @@-# Tuned to fit GitHub Actions runners (7GB RAM). Gradle + Kotlin daemon heaps+# Tuned to fit GitHub Actions runners (16GB RAM). Gradle + Kotlin daemon heaps # combined stay well under the limit while still building all modules.-org.gradle.jvmargs=-Xmx3584m -Xms512m -XX:MaxMetaspaceSize=512m -XX:+UseG1GC -Dfile.encoding=UTF-8+#+# MaxMetaspaceSize=1024m: the previous 512m cap was killing the daemon on+# release builds (R8 fullMode + lintVitalRelease + KSP + Kotlin compile all+# load class metadata into the same daemon's metaspace; with parallel=4 we+# easily blew past 512m).+org.gradle.jvmargs=-Xmx3584m -Xms512m -XX:MaxMetaspaceSize=1024m -XX:+UseG1GC -Dfile.encoding=UTF-8 kotlin.daemon.jvm.options=-Xmx1536m  # Use more workers in parallel for multi-module compilation.