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

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