Author Recursing
Recipients Recursing, asvetlov, christian.heimes, yselivanov
Date 2020-05-22.10:32:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590143544.25.0.930693911117.issue40727@roundup.psfhosted.org>
In-reply-to
Content
> Without asyncio memory consumption stays low and stable for me

Same for me

> RSS jumps from 20 MB to about 1,600 MB.

That is the memory consumption I observe as well, the issue is that it doesn't get freed on Linux

> There is almost no increase when I run the look several more times.

Same for me, but of course only if I exit the "async" context between runs

> Why are you creating so many SSLContext objects any way? It's very inefficient and really not necessary.

The original issue was observed in a very long running process (months), that occasionally needed a context and it was convenient to just create one every time (actually it creates an AsyncClient context https://github.com/encode/httpx/issues/978) even if it is relatively inefficient, it didn't really matter, but memory usage unexpectedly slowly grew to 1 GB which was very unexpected
History
Date User Action Args
2020-05-22 10:32:24Recursingsetrecipients: + Recursing, christian.heimes, asvetlov, yselivanov
2020-05-22 10:32:24Recursingsetmessageid: <1590143544.25.0.930693911117.issue40727@roundup.psfhosted.org>
2020-05-22 10:32:24Recursinglinkissue40727 messages
2020-05-22 10:32:24Recursingcreate