[issue37329] [2.7] valgrind python2 -m test.regrtest test___all__: definitely lost: 324 bytes in 2 blocks
STINNER Victor
report at bugs.python.org
Tue Jun 18 09:12:10 EDT 2019
STINNER Victor <vstinner at redhat.com> added the comment:
> The best would be to explicitly release all memory at exit, but I don't think that it's worth it in Python 2.7 (...)
Python 2.7 "leaks" a lot of memory at exit...
==18497== possibly lost: 5,665,418 bytes in 27,453 blocks
==18497== still reachable: 8,530,840 bytes in 57,856 blocks
... but the operating system releases the memory anyway when the process exit. Technically, it's not a major issue unless you embed Python into an application. But again, it's Python 2.7: I suggest to focus efforts in the master branch.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37329>
_______________________________________
More information about the Python-bugs-list
mailing list