[issue46476] Not all memory allocated by _Py_Quicken() is released at Python exit
Kumar Aditya
report at bugs.python.org
Mon Jan 24 08:46:07 EST 2022
Kumar Aditya <rahuladitya303 at gmail.com> added the comment:
> Aha. Maybe for now, the memory of immortal code objects can be deallocated in pymain_free(). It's the last function called before Python exit the process.
It seems like a viable option for now to only clear them when python is not embedded and in pymain_free.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46476>
_______________________________________
More information about the Python-bugs-list
mailing list