pytracemalloc
pytracemalloc copied to clipboard
Debug tool trace Python memory allocations
+++++++++++++ pytracemalloc +++++++++++++
.. image:: http://unmaintained.tech/badge.svg :target: http://unmaintained.tech/ :alt: No Maintenance Intended
The tracemalloc module is a debug tool to trace memory blocks allocated by Python. It provides the following information:
- Traceback where an object was allocated
- Statistics on allocated memory blocks per filename and per line number: total size, number and average size of allocated memory blocks
- Compute the differences between two snapshots to detect memory leaks
Quick Links:
-
pytracemalloc documentation <https://pytracemalloc.readthedocs.io/>
_ -
Download pytracemalloc on PyPI <https://pypi.org/project/pytracemalloc/>
_ -
pytracemalloc on GitHub (source code, bugs) <https://github.com/vstinner/pytracemalloc>
_ -
Qt graphical interface: tracemallocqt <https://github.com/vstinner/tracemallocqt>
_
See doc/index.rst
for the source of the documentation.