[issue38430] Memory leak in ThreadPoolExecutor + run_in_executor

Yury Selivanov report at bugs.python.org
Sat Nov 2 17:26:06 EDT 2019


Yury Selivanov <yselivanov at gmail.com> added the comment:

> We should either remove the API (not realistic dream at least for many years) or fix it.  There is no choice actually.

I don't understand. What happens if we don't await the future that run_in_executor returns? Does it get GCed eventually? Why is memory leaking?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38430>
_______________________________________


More information about the Python-bugs-list mailing list