Created
January 31, 2017 13:10
-
-
Save lopuhin/2f35a8e4fee45e22f35888cab8effd5c to your computer and use it in GitHub Desktop.
Show python heap with pympler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pympler.summary import summarize, print_ | |
from pympler.muppy import get_object | |
all_objects = get_objects() | |
summary = summarize(all_objects) | |
print_(summary) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment