STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue37329>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to