mirror of
https://github.com/AdrianKuta/Tree-Data-Structure.git
synced 2026-06-19 19:00:14 +02:00
The Android target added in #48 brought AGP onto the build's classpath without setting org.gradle.jvmargs, so the Gradle daemon ran on its defaults (512m heap / 384m Metaspace). AGP loads enough classes that, combined with the KMP matrix, binary-compatibility-validator, Kover and Dokka in a single build, the daemon exhausts Metaspace and is killed mid-build (GC thrashing / out of Metaspace). The 'JVM / JS / Wasm / Native / Android + API check' job therefore failed deterministically on master, and the publish job builds the same targets. Set org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g. Verified with a cold full-matrix build locally.
640 B
640 B