I\'m looking to generate, from a large Python codebase, a summary of heap usage or memory allocations over the course of a function\'s run.
I\'m familiar with heapy, and
You might be interested by memory_profiler.