Bits and bytes of Python memory management
a talk by Robert Kuska
Is it true that Python is not returning memory back to OS? What happens with variables which are no longer needed? How important is a garbage collector? How to trace and profile memory usage?
Let's find out answers to these and maybe some more questions.
Talk overview:
- Introduction: Why do I need to care about memory management in Python? Objects in Python – what are they?
- Memory management: How memory is being allocated at start/while running – blocks/pools/arenas? How is memory being freed – reference counting/garbage collector? Extras - small integer’s identity, sys.intern, sys.getsizeof, lists/dicts dynamic allocations. How to find cycles in variables referencing?
- Tools for memory management: Overview of available tools for managing memory. How and why Instagram disabled/re-enabled garbage collector?
This talk is suitable for both beginner and advanced Pythonistas.
Robert Kuska
I am a software engineer at Kiwi.com.
I used to know close to nothing about memory management until I decided to have a talk about it. Now I know a little bit more.
In my free time I embroider and ride a bike.
TW:
DasIstHerrKuska