After bumping to 1.3.71 I am getting OOM while com...
# javascript
s
After bumping to 1.3.71 I am getting OOM while compiling with
kotlin2js
in gradle. I tried setting
kotlin.daemon.jvm.options=-Xmx8g
in gradle.properties but even then I still get it (its a bit non deterministic). Am I setting the option correctly ?
u
a bit non determninistic in that sense that sometimes it passes?
s
Yes
Seems the correct way to set the heap size is:
org.gradle.jvmargs=-Dkotlin.daemon.jvm.options="-Xmx1g"
in
gradle.properties
for any other unlucky souls out there
Verified by using
jps -v
and looking for the kotlin daemon line