Line-by-line memory usage of a Python program 14 years agoI learned that from Robert Kern's http://packages.python.org/line_profiler/ 0ThreadHN