Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

vstinner/pytracemalloc

 
 

Repository files navigation

pytracemalloc

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:

See doc/index.rst for the source of the documentation.

About

Debug tool trace Python memory allocations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 88.9%
  • Python 5.8%
  • C++ 5.1%
  • Other 0.2%