e: Compilation failed: GC overhead limit exceeded ...
# kotlin-native
k
e: Compilation failed: GC overhead limit exceeded * Source files: * Compiler version info: Konan: 1.3.71 / Kotlin: 1.3.71 * Output kind: FRAMEWORK e: java.lang.OutOfMemoryError: GC overhead limit exceeded
build server fun!
b
Copy code
org.gradle.jvmargs=-Xmx4096m
in gradle.properties?
k
that's quite a lot of memory for a compiler to be using
we've had it set at 1536m in the past
b
🤷
For local development, I've just been bumping for small projects with 1.3.71 and 1.4-M1 otherwise I see the occasional memory issue. It might be overkill.
k
for some reason it works locally
n
s
java and gradle was not good idea for compiler, another proof
2nd proof is the new jetbrains toolbox, from native to java, now memory usage is 200mb in background, for a launcher..
4gb for compiler, crazy