Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

No, I did not mean using msize() or something like. Since memory is managed 
outside of Python, we have no a list of allocated blocks.

I meant that we can get the total memory used by the Python process (using 
OS-specific methods) and compare it between iterations. If it continues to 
grow, there is a leak. It perhaps is not able to detect small leaks (less than 
the page size), but large leaks are more important.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35056>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to