~/talk

Driving Down The Memray Lane

Talkat PyCon Lithuania 2023 · 2023-05-17..05-20· [python]
slides:none on file

Shows how memray Jupyter extension profiles real Python workloads, tracing allocations inside pandas and the Python allocator; a traced run exposes a 1.4 GB peak inside pandas internals and lets the author compare two grouping strategies that measure 5.4 MB vs 5.5 MB snapshots. Demonstrates generating HTML flamegraphs from notebook cells, explains why Windows isn’t supported, and emphasizes reading roofs (self allocation) versus children allocations to find where memory is actually held and which lines to change.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:12What is memory profiling
  3. 6:58Why profile memory usage
  4. 8:55Memory types and allocation
  5. 11:36Python memory management
  6. 14:00Introducing Memray tool
  7. 14:49Memray demo basics
  8. 18:17Interpreting frame graphs
  9. 21:03Real-world pandas demo
  10. 26:00Tool limitations and conclusion
  11. 27:22Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.