Tracking a Ruby memory leak in 2021
July 8, 2021 — Ulysse
I wrote this article at Klaxit, after fixing some memory issues, I’ve learned a lot in this process, hopefully you will too!
TL;DR: this is about using derailed_benchmarks
and ruby’s objspace.so
to quickly find a memory leak in your code base.