Find out how much memory is being used by an object in Python
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping
--
Chapters
00:00 Question
00:31 Accepted answer (Score 149)
01:53 Answer 2 (Score 197)
02:18 Answer 3 (Score 7)
02:52 Answer 4 (Score 7)
03:30 Thank you
--
Full question
https://stackoverflow.com/questions/3397...
Accepted answer links:
[big chunk of code]: http://code.activestate.com/recipes/5442.../
[updated big chunk of code]: http://code.activestate.com/recipes/5465.../
[old description about PyObject]: http://mail.python.org/pipermail/python-...
Answer 2 links:
[getsizeof()]: https://docs.python.org/3/library/sys.ht...
[A recursive recipe]: http://code.activestate.com/recipes/5775.../
Answer 4 links:
http://pysizer.8325.org/
http://guppy-pe.sourceforge.net/#Heapy
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #performance #memoryprofiling
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Orient Looping
--
Chapters
00:00 Question
00:31 Accepted answer (Score 149)
01:53 Answer 2 (Score 197)
02:18 Answer 3 (Score 7)
02:52 Answer 4 (Score 7)
03:30 Thank you
--
Full question
https://stackoverflow.com/questions/3397...
Accepted answer links:
[big chunk of code]: http://code.activestate.com/recipes/5442.../
[updated big chunk of code]: http://code.activestate.com/recipes/5465.../
[old description about PyObject]: http://mail.python.org/pipermail/python-...
Answer 2 links:
[getsizeof()]: https://docs.python.org/3/library/sys.ht...
[A recursive recipe]: http://code.activestate.com/recipes/5775.../
Answer 4 links:
http://pysizer.8325.org/
http://guppy-pe.sourceforge.net/#Heapy
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #performance #memoryprofiling
#avk47