https://kotlinlang.org logo
#ktor
Title
# ktor
a

Aharon

01/29/2019, 7:20 AM
Is it ok to keep a long living instance of io.ktor.client.HttpClient and just call close() on all the HttpResponse objs ? I'm asking cause the docs only talk about closing the HttpClient itself (https://ktor.io/clients/http-client/calls/requests.html) Also we've got a memory leak somewhere in there now...
👌 1
Thanks Leonid, will carry on trying to find our leak then in other places
e

e5l

01/29/2019, 7:31 AM
If you have any problem memory snapshots with
ktor
, you could post it here 🙂
a

Aharon

01/29/2019, 4:08 PM
Thanks! though for the moment I think we've found the issue in our code
9 Views