I’m trying to update to gradle 5.x and with `kapt....
# kapt
e
I’m trying to update to gradle 5.x and with
kapt.use.worker.api=true
android build fails with OOM
g
Gradle 5 by default now has smaller heap, try to increase it manually
e
I gave it already 4GB of memory
I don’t know how it is distributed between workers and kotlin daemon
g
Kotlin Daemon is not involved when you enable kapt workers, only Gradle workers. Which param do you use to adjust memory settings?
e
Copy code
org.gradle.jvmargs=-Xmx4096M -XX:MaxPermSize=1024m