~/talk

Inside memory management on the BEAM

Talkat Code BEAM Lite Munich 2018 · on Friday, 2018-12-07· [elixir-and-erlang]
slides:none on file

Explains why the BEAM cannot turn off garbage collector (per-process heaps and contiguous heap+stack), shows using spawn_opt minimum heap 65535 words vs default ~233 to reduce GC spikes, and implements memory measurement by tracing GC events with erlang:trace/3. Covers generational GC (minor vs major heaps), a bug fix to include old-heap accounting, and a race fix that starts the tracer before setting the trace flag; the final Benjy/Vinci feature works reliably.

AI-written summary · about

  1. 0:00Introduction
  2. 7:00SpawnOpt
  3. 20:52Bugs
  4. 23:34Debugging
  5. 27:47What can you do
  6. 35:20Memory management on the BEAM
  7. 38:40Snapshots
  8. 39:07Garbage collection
  9. 40:45Runtime measurements
  10. 41:45Spawn opt
  11. 45:19The solution
  12. 50:13The module
  13. 52:05Start tracer function
  14. 55:01The second heap
~/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.