I just found out that Ktor is leaking memory like ...
# ktor
d
I just found out that Ktor is leaking memory like a sieve in my Kotlin/Native Application. Is there anything I can do about this? My App makes HTTP request every 5 seconds on average; it's necessarily chatty, so the leaks add up very quickly and cause the App to be force quit by iOS within an hour. Seeing this: https://youtrack.jetbrains.com/issue/KTOR-1238 ...I have ensured that HttpClient is not being recreated, a couple of instances are being reused. But HttpResponse is probably the one being leaked and I see no solution.
d
You can just avoid the response exception.