Pympler is a development tool to measure, monitor and analyze
the memory behavior of Python objects in a running Python
application. By pympling a Python application, detailed insight
in the size and the lifetime of Python objects can be obtained.
Undesirable or unexpected runtime behavior like memory bloat and
other “pymples” can easily be identified. Pympler integrates
three previously separate modules into a single, comprehensive
profiling tool. The asizeof module provides basic size
information for one or several Python objects, module muppy is
used for on-line monitoring of a Python application and module
Class Tracker provides off-line analysis of the lifetime of
selected Python objects. A web profiling frontend exposes
process statistics, garbage visualisation and class tracker
statistics. Pympler is platform independent and has been tested
on various Linux distributions (32bit and 64bit), Windows XP,
Windows 7 and MacOS X. If you have pip installed, the easiest
way to get Pympler is: pip install pympl