Author sophia2
Recipients aeros, asvetlov, dralley, sophia2, yselivanov
Date 2020-10-29.20:53:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604004801.81.0.527679174592.issue41699@roundup.psfhosted.org>
In-reply-to
Content
It looks like it's not specific to the ThreadPoolExecutor.

```
import asyncio
import concurrent

def leaker_func():
    list(range(int(1000)))
    # removed 1/0 because this causes issues with the ProcessPoolExecutor

async def function():
    loop = asyncio.get_running_loop()
    for i in range(10000):
        loop.run_in_executor(concurrent.futures.ProcessPoolExecutor(), leaker_func)
```
10MB at this point

then after executing this:
```
asyncio.run(function())
```
40MB. (~same as ThreadPoolExecutor in python3.10)
History
Date User Action Args
2020-10-29 20:53:21sophia2setrecipients: + sophia2, asvetlov, yselivanov, aeros, dralley
2020-10-29 20:53:21sophia2setmessageid: <1604004801.81.0.527679174592.issue41699@roundup.psfhosted.org>
2020-10-29 20:53:21sophia2linkissue41699 messages
2020-10-29 20:53:21sophia2create