New submission from ixje :
I have a networked process that looks somewhat like this in its most basic form
```
import asyncio
shutting_down = False
async def read_message(reader, timeout=30):
async def _read(reader: asyncio.StreamReader):
try:
d = await
ixje added the comment:
Hi Andrew,
There is an attached minimal example (that differs from the code given in the
first comment). I couldn't attach 2 files. So I pasted the code of one file to
showcase how we could run into the issue, then a minimal reproducible example
without network
ixje added the comment:
This is the consumption I'm seeing.
--
Added file:
https://bugs.python.org/file48357/test_leak_minimal_mem_consumption.png
___
Python tracker
<https://bugs.python.org/is
ixje added the comment:
Perhaps also worth mentioning is that when we supply None as timeout value in
the `wait_for()` in the minimal sample, then it still reports 60MB memory
usage. Seems pretty steep for doing basically nothing but looping around