Hi everyone. If I may barge in, this seems like a good time and place to advertise the memory_inventory module I recently published: GitHub - Changaco/python-memory-inventory: A Python module that collects and outputs statistics on global objects. I don’t know if it can be directly useful to the effort this thread is about, but its default behavior is to analyze the memory footprint of the entire Python standard library, and that produces some interesting results.
3 Likes