TIL — How reading a file in ruby caused a major memory leak issue 🙀

Weiyuan
8 min readJan 15, 2024
source: pixabay, author: PublicDomainPictures

Every so often, I get a question from a colleague that intrigues me greatly. Except that this time, it's not a question, but rather a statement:

“Weiyuan, it seems like a pod OOMKilled issue (out of memory causing the pod to restart) after we ran this new job we wrote in…

--

--

Weiyuan

Senior Engineering Manager, Ascenda Loyalty | Former Engineering Manager, Grab | Former Director of Engineering, ZilLearn | bit.ly/weiyuan