I am using your concurrent.futures package. I schedule about 200,000 tasks and execute them on multiple cores using ProcessPoolExecutor. The memory usage explodes because as_completed does not release references to the futures as the tasks are completed.
In my use case, the individual tasks themselves handle images and matrices. So I dont know how I can send you a reproducible minimal example.
However, This seems to be a known fixed bug : https://bugs.python.org/issue27144
Any thoughts on whether this has been backported in this package?
I am using your concurrent.futures package. I schedule about 200,000 tasks and execute them on multiple cores using ProcessPoolExecutor. The memory usage explodes because as_completed does not release references to the futures as the tasks are completed.
In my use case, the individual tasks themselves handle images and matrices. So I dont know how I can send you a reproducible minimal example.
However, This seems to be a known fixed bug : https://bugs.python.org/issue27144
Any thoughts on whether this has been backported in this package?