~/talk

Python Memory Understanding

Talkat Conf42 Python 2021 · on Thursday, 2021-05-27· [python]
linkedin:nisargshah14
slides:none on file

Explains what happens when a Python variable is created: every value is an object with a unique id and a reference count that increments for assignments and decrements on scope exit, local returns and deletions. Describes Python using reference counting plus a generational garbage collector to find and free unreachable cycles, why circular references survive simple refcounting, and shows practical consequences for lists, dicts and long‑running processes plus when collection actually runs.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:14Python memory basics
  3. 3:04Garbage collection in Python
  4. 6:15Reference counting explained
  5. 9:34Circular references and cleanup
  6. 12:20Circular reference cycles
  7. 15:26Circular reference impact
  8. 17:12Reference management tips
  9. 20:39Practical reference handling
  10. 21:47Q&A and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.