In the past days I was fighting against a memory leak - which I then discovered to be a memory bloat. In particular it was affecting some Sidekiq workers.
Debugging these problems is really hard and I want to share what I finally found after lot of research (it’s really an hidden gem, and I didn’t know about it, even after 10 years that I use Ruby on Rails).
Here’s a blog post with the results: https://answers.abstractbrain.com/how-to-reduce-memory-usage-in-ruby/