Memory problem RoR

#1

Hello,

I am a beginner in ruby on rails. My company has recovered a site made of ruby on rails and I am in charge of the maintenance of the site.

However, I am faced with a memory problem. We are hosted on heroku and here is the graph of memory:

I have to restart the application because above 500MB, this leads to critical errors. The memory never goes down if I do not restart. After a while, the application starts again and it works.

I have no idea where it can come from. If you can help me …

Thank you

J. Canto

#2

Hello J. Canto,

I would recommend you to start here: