Hi, is anyone aware of these leaks with new memory...
# kotlin-native
a
Hi, is anyone aware of these leaks with new memory model in Kotlin
1.6.20
and coroutines-native
1.6.1-native-mt
? I know they seem to be minor in terms of size but I want to understand how are they leaking and try to avoid them. Thanks.
k
If I may ask, which tool are you using here?
a
Perhaps we should use normal coroutines with the new memory model, not native-mt. Maybe that would fix the leaks?
a
I am using Xcode Insturments Okay, I will play with latest 1.7.20 and move to normal coroutines and see
My theory is that it has to do with the fact that coroutines are required to be started from the main thread, so this is retaining the reference of it.