~/talk

Finding Memory Leaks in the Ruby Ecosystem

Talkat RubyKaigi 2024 · 2024-05-15..05-17· [ruby]
name:Adam Hess
links:none on file
slides:none on file

Experimental Ruby free at exit adds an environment toggle in Ruby 3.3 to free allocations at shutdown so native-memory tools can report real leaks; it cuts Valgrind output from ~100,000 noisy lines to about 32 relevant ones, lets Valgrind and macOS leaks detect native issues, and finds over 20 real leaks in Ruby (one regex-timeout leak grew ~3 GB before the fix and flattens after). The existing Ruby MemCheck adapts to use the feature for gem testing.

AI-written summary · about

  1. 0:00Introduction
  2. 1:32What is a memory leak
  3. 5:22Prior art and Ruby MemCheck
  4. 9:55Ruby free at exit feature
  5. 14:10Finding leaks with the feature
  6. 20:45Using the feature in practice
  7. 21:27Q&A and closing
~/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.