~/talk

What's Eating My RAM? - Memory Utilization in C++

Talkat ACCU 2024 · 2024-04-17..04-20· [c-and-cpp]
links:none on file
slides:none on file

Service memory climbs from about 1GB to 7GB and triggers a 90% machine alarm; initial fixes find leaks with a test allocator and AddressSanitizer, and a Valgrind massif timeline separates static noise from growth. Fragmentation remains: 30MB in use, only ~2MB free with largest allocatable block ≈60KB, so brk/mmap keep growing. A working mitigation split allocations by lifespan into local allocators (short‑term vs long‑term), which reduces heap fragmentation and stabilizes growth.

AI-written summary · about

  1. 0:00Memory usage challenges
  2. 2:05Critical memory alarm
  3. 6:04C++ memory allocation
  4. 15:14Finding memory leaks
  5. 19:26Leak detection tools
  6. 25:12Memory fragmentation
  7. 28:27Measuring fragmentation
  8. 31:24Reducing fragmentation
  9. 33:52Local allocators
  10. 38:09Q&A
~/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.