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 <>
It looks like it's not specific to the ThreadPoolExecutor.

import asyncio
import concurrent

def leaker_func():
    # 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:
40MB. (~same as ThreadPoolExecutor in python3.10)
Date User Action Args
2020-10-29 20:53:21sophia2setrecipients: + sophia2, asvetlov, yselivanov, aeros, dralley
2020-10-29 20:53:21sophia2setmessageid: <>
2020-10-29 20:53:21sophia2linkissue41699 messages
2020-10-29 20:53:21sophia2create