The answer is in your heap: debugging a big memory increase in Ruby on Rails
island94.org·1d
🛡️Memory Safety
Preview
Report Post

I recently participated in an interesting series of debugging sessions tracking down the source of a large increase in memory when upgrading a Rails application. We ultimately tracked down the cause using John Hawthorn’s Sheap heap analyzer and successfully submitted a patch to Rails. I thought it was interesting enough to write up because maybe the general approach to debugging memory issues would be helpful (and this is the kind of stuff that I very quickly forget unless I write it down).

How it started: Reddit

Lots of people ask for help on r/rails, and it can be difficult to debug at a distance. [This time it was a little diffe…

Similar Posts

Loading similar posts...