KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using iPython to run my code. I wonder if there is any module or command which would allow me to check the memory usage of an object. For instance: In [1]: a = range(10000) In [2]: %memusage a Out[2]: 1MB Something like %memusage <object> and return the memory used by the object. Duplicate Find out how much memory is being used by an object in Python
Tags (comma-separated)
Save Edits
Cancel