Trying to run macx64Test of `native-mt` branch of the coroutines library using kotlin 1.3.70 and get...
b
Trying to run macx64Test of
native-mt
branch of the coroutines library using kotlin 1.3.70 and getting the below error message:
Expiring Daemon because JVM heap space is exhausted
Any pointers? When I've been running into ios-specific issues in my codebase, I've been using the nativeTest setup in coroutines to write sanity tests to confirm or reject learnings. It takes a good 1-2 minutes with kotlin 1.3.61 to compile and run the tests though, so I am eager to see some improvement.
i
Basically ran out of memory for Gradle daemon
👍 1
b
thanks. added
Copy code
org.gradle.jvmargs=-Xmx4096m
to gradle.properties and can finish compiling
l
Is it faster now after second compilation? @Brendan Weinstein
e
I’ve just force-pushed this branch: rebased onto the latest
develop
, moved to Kotlin 1.3.70, added more memory for compiler.
Note, that
native-mt
branch is currently not passing tests under Kotlin
1.3.70
. There will be no
native-mt
release for Kotlin
1.3.70
.
l
😞 What's the plan then?
e
Here’s the underlying problem. Let’s see how it goes https://youtrack.jetbrains.com/issue/KT-37232
🙏 1
👍 1
b
@louiscad Started playing around with kotlin 1.3.70 here https://github.com/brendanw/kotlin-native-statemachine and the debugging experience is better. Compilation feels faster on the second run and about the same for first run.
👍 1