Try fixing OOM by changing GC and adding RAM to the kotlin compiler (#2965)

* Try fixing OOM by changing GC and adding RAM to the kotlin compiler

* Add gradle cache to build apk job in maestro flow.

- Remove unnecessary dependency in `:features:call` module.

* Fix sonar in nightly reports

* Bump heap size of nightly reports
This commit is contained in:
Jorge Martin Espinosa
2024-06-03 11:28:51 +02:00
committed by GitHub
parent b6df186903
commit 0bf4819de2
11 changed files with 20 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ on:
# Enrich gradle.properties for CI/CD
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx7g -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -XX:MaxMetaspaceSize=512m -Dkotlin.incremental=false -XX:+UseParallelGC
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx7g -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -XX:MaxMetaspaceSize=512m -Dkotlin.incremental=false -XX:+UseG1GC
CI_GRADLE_ARG_PROPERTIES: --stacktrace -PpreDexEnable=false --max-workers 8 --warn -Dsonar.gradle.skipCompile=true
jobs: