Ever since I started using K/N, I see the Gradle "...
# kotlin-native
d
Ever since I started using K/N, I see the Gradle "Damon will be stopped at the end of the build after running out of JVM memory" a lot, even when I'm just compiling fairly small projects.
Is this normal? Indicative of a memory leak?
m
Depends your project. If it's complicated, it might allocate more than the default heap. You can tweak that with
Copy code
org.gradle.jvmargs=-Xmx4g
In your
gradle.properties
file
d
It's a single main.kt file
m
I don't know, K/N might use more memory
d
Literally just the Kotlin/Native template when creating a new JB project with a slight tweak
I don't know, K/N might use more memory
Could be!