Try adding a memory limit for the kotlin compiler (#3377)

* Try adding a memory limit for the kotlin compiler

* Tweak values for all flows
This commit is contained in:
Jorge Martin Espinosa 2024-09-04 21:33:50 +02:00 committed by GitHub
parent 7a19d8dcb4
commit 7e37bf4a36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 16 additions and 31 deletions

View file

@ -7,7 +7,7 @@ on:
- cron: "0 4 * * *"
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx6g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError" -Dkotlin.incremental=false -XX:+UseG1GC
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx4g -Dkotlin.incremental=false
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true
jobs: