mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-03 09:04:32 -04:00
build: fix the inert Kotlin compile daemon heap property (#7132)
This commit is contained in:
1 parent
ef973c275f
commit
354db2f1db
2 files changed
+9
-5
No files matched your search
@@ -12,10 +12,12 @@
|
||||
org.gradle.daemon=false
|
||||
|
||||
# ── Memory ────────────────────────────────────────────────────────────
|
||||
# Standard GitHub runners have 7 GB RAM. Keep Gradle + Kotlin daemon
|
||||
# within budget (4g Gradle + 2g Kotlin daemon + 1g OS/tooling headroom).
|
||||
# Public-repo ubuntu-24.04 runners have 16 GB RAM. Keep Gradle + Kotlin daemon
|
||||
# within budget (4g Gradle + 6g Kotlin daemon, leaving room for lint and K/N).
|
||||
# Only kotlin.daemon.jvmargs is read from a properties file; kotlin.daemon.jvm.options
|
||||
# is a system property. Unset, the daemon inherits org.gradle.jvmargs' 4g and OOMs.
|
||||
org.gradle.jvmargs=-Xmx4g -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8
|
||||
kotlin.daemon.jvm.options=-Xmx2g -XX:+UseParallelGC
|
||||
kotlin.daemon.jvmargs=-Xmx6g -XX:+UseG1GC
|
||||
|
||||
# ── Parallelism ───────────────────────────────────────────────────────
|
||||
org.gradle.parallel=true
|
||||
|
||||
Reference in new issue
Block a user