b90533c535
Android UI Tests / ui-tests (pull_request) Has been cancelled
OOMs were happening at the previous limits (Gradle 4G / Kotlin 3G) during ComposeApp.framework generation. Bumped to 6G / 4G with a 1G Metaspace cap and G1GC for steadier latency on incremental builds. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
26 lines
945 B
Properties
26 lines
945 B
Properties
#Kotlin
|
|
kotlin.code.style=official
|
|
# Heap sizing for KMP builds.
|
|
# Kotlin daemon runs the K2 compiler + native linker; 4 GB headroom
|
|
# prevents long-tail OOMs during iosArm64 framework link.
|
|
# MaxMetaspaceSize caps slow class-loading leaks across daemon reuse;
|
|
# G1GC keeps pauses short during incremental builds.
|
|
kotlin.daemon.jvmargs=-Xmx4096M -XX:MaxMetaspaceSize=1g -XX:+UseG1GC
|
|
|
|
#Gradle
|
|
# Gradle daemon drives configuration cache + dependency resolution +
|
|
# Compose/Android compilers. OOMs at 4 GB during ComposeApp.framework
|
|
# generation; 6 GB is the usual safe size for projects this size.
|
|
org.gradle.jvmargs=-Xmx6144M -XX:MaxMetaspaceSize=1g -XX:+UseG1GC -Dfile.encoding=UTF-8
|
|
org.gradle.configuration-cache=true
|
|
org.gradle.caching=true
|
|
|
|
#Android
|
|
android.nonTransitiveRClass=true
|
|
android.useAndroidX=true
|
|
|
|
|
|
kotlin.native.binary.objcDisposeOnMain=false
|
|
|
|
org.gradle.java.home=/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home
|