~/talk

Wrangling memory leaks where you thought they could never happen

Talkat EuroRust 2023 · 2023-10-12..10-13· [rust]
links:none on file
slides:none on file

A concrete debugging story: a Rust web server for ABQ hits the OOM killer because allocator behavior and fragmentation, not unsafe code, cause a large steady-state heap (about 70% baseline and OOM killer on a 1 GB VM). The investigation uses Rust Analyzer, profilers, synthetic load tests and allocator swaps (notably mallocng vs jemalloc), finds allocator defaults like cache‑oblivious placement and decay purging cause extra pages, and proves switching allocators or using bumpalo and scoped arenas removes the leak.

AI-written summary · about

  1. 0:00Memory leak debugging story
  2. 1:46Out of memory issue
  3. 7:02Memory allocators complexity
  4. 15:27Allocators: glibc and jemalloc
  5. 22:30Web server performance impact
  6. 27:25Solutions for allocation challenges
  7. 29:12Allocator selection summary
~/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.