Anyone else run into OOM issues with (happens with...
# gradle
b
Anyone else run into OOM issues with (happens with Gradle 5 or 6) Gradle 6 + Kotlin 1.3.70?
t
Composite build?
b
Nope
t
Gradle
6.2.2
?
👌 1
m
Yes! I had the same issue. After googling around I found out you can add a gradle.properties file in your .gradle folder. There you can add the line
org.gradle.jvmargs=-Xmx3g
which should increase the memory to whatever you specify
b
good to know. only thing that has worked for me in CI envs so far is
--no-daemon
updated the original post. it happens with Gradle 5 or 6. likely a 1.3.70 issue
n
Yes me too. Had to increase mem also
t
I would advice to make a heap dump and inspect it for leaks