So We've Got a Memory Leak… | Steven Harman
21-Jun-2024 325
Memory leaks happen. And if you’re here, reading this, I’d bet you’re dealing with one. First things first - are you sure it’s a leak, and not bloat?Okay, so it’s a leak. Much has been written about various tools for profiling a leak, understanding heap dumps, common causes of leaks, work being done to improve Ruby’s memory layout, and so much more. Ben Sheldon’s recent “The answer is in your heap: debugging a big memory increase in Ruby on Rails” is a great example. Ben mentions and shows how he and some teammates used several different tools to generate heap dumps, analyze and interrogate them, and ultimately find and fix the source of a leak in Rails itself.
So We've Got a Memory Leak… | Steven Harman #ruby #rubydeveloper #rubyonrails #We've #Memory #Leak… #Steven #Harman https://rubyonrails.ba/link/so-we-ve-got-a-memory-leak-steven-harman