Message379884
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) |
|
Date |
User |
Action |
Args |
2020-10-29 20:53:21 | sophia2 | set | recipients:
+ sophia2, asvetlov, yselivanov, aeros, dralley |
2020-10-29 20:53:21 | sophia2 | set | messageid: <1604004801.81.0.527679174592.issue41699@roundup.psfhosted.org> |
2020-10-29 20:53:21 | sophia2 | link | issue41699 messages |
2020-10-29 20:53:21 | sophia2 | create | |
|