Schedule

Peter Zhu
Peter Zhu
  • @peterzhu2118

Peter is a Ruby core committer and Senior Developer at Shopify. He is currently working on improving the performance of Ruby and was a co-author of the Variable Width Allocation project. He is the author of ruby_memcheck, a gem used to find memory leaks in native gems. It has found memory leaks in popular gems such as Nokogiri, protobuf, gRPC, and liquid-c.

Adam Hess
Adam Hess
  • @HParker

Adam is a staff software engineer at GitHub on the Ruby Infrastructure team working on improving Ruby for GitHub (and everyone else). He was an early contributor to Ruby's new parser Prism and an avid compiler nerd.

Finding Memory Leaks in the Ruby Ecosystem

Ruby 3.3 introduces a powerful new feature for identifying memory leaks. Over the past year we have been working on improving memory usage within Ruby and developing tools to give native extension authors more confidence in memory management.

In this talk, we will explain what memory leaks are, the impacts of memory leaks, our new feature RUBY_FREE_AT_EXIT in Ruby 3.3, and memory leaks found through this feature. In addition, we will discuss our future roadmap for Ruby 3.4 to improve this feature for native gem maintainers.

Presentation Material

Recorded video