[issue40781] Remove sys._debugmallocstats() function and PYTHONMALLOCSTATS environment variable
Inada Naoki
report at bugs.python.org
Tue May 26 11:56:46 EDT 2020
Inada Naoki <songofacandy at gmail.com> added the comment:
I use it often when I investigate memory usage.
It provides some useful information even in release Python build. For example:
* Which size class is most allocated?
* How many block are allocated?
* Which size class have most free blocks? (e.g. Inner fragmentation)
* Combined with tracing application to stderr, which part of the application increase memory usage?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40781>
_______________________________________
More information about the Python-bugs-list
mailing list