Out of memory errors with custom plugin

Hi Rafael and team, my name is Serge and I work with mr. Happy Lee who just departed for long anticipated vacation so I’ll be working on this issue.

To add to description: The server was originally built with 8GB of RAM and 2GB swap. We did not upgrade it since then.

In the system log I can see evidence that Ruby is the process that consuming all the memory and causing kernel OoM

Killed process 2960 (ruby) total-vm:10031472kB, anon-rss:7438148kB, file-rss:0kB

I am not ruby expert so not sure how to see which process in ruby consuming that much of memory.

Any suggestions appreciated.

Thanks.

-Serge