~/talk

Trip Down Memory Lane: OOM in Python

Talkat Pycon PH 2017 · on Sunday, 2017-02-26· [python, observability]
links:none on file
slides:none on file

Investigation shows a genuine Python memory leak: lists jump from 24k to 13 million and a process hits RSS ~2GB before swapping, causing system-wide slowdown. Repro tools are the resource module for getrusage, objgraph/heapy for object counts and referrers; garbage collection analysis proves live references block cleanup. The fix removes unneeded objects loaded into the hub; operational workarounds shard collectors and terminate nodes before the OS OOM killer runs.

AI-written summary · about

  1. 0:00Start
  2. 9:28Resource usage information
  3. 19:51in a monitoring tool
  4. 25:41TIPS
~/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.