https://kotlinlang.org logo
Title
j

jmfayard

06/14/2017, 11:01 AM
Hello, I have the
KotlinCompileDaemon
which sometimes take 300% of the CPU or throws with a
GC overhead limit exceeded
. What kind of infos can I provide / tools I can use to open a useful bug report on kotl.in/issue?
i

ilya.chernikov

06/14/2017, 11:05 AM
jmfayard: looks like insufficient heap size for the daemon to me. In which environment are you compiling?
j

jmfayard

06/14/2017, 11:06 AM
OSX 10.12.5 AndroidStudio 3.0 Gradle version 4.0 Android Plugin 3.0.0-alpha3 Kotlin : 1.1.2-5
i

ilya.chernikov

06/14/2017, 11:27 AM
By default the kotlin daemon inherits heap limits from the gradle, so, if it suits you, please increase Xmx for the gradle itself. If not - ping me again: I’ll write how to manage Xmx for the kotlin daemon alone.