Memory leak in a rails app

  1. Do you have any advice for how to debug it? Presumably ruby has a garbage collector so this shouldn’t happen.

  2. Is there a way for me to reset the server once it reaches a certain memory usage percentage? So the memory leak doesn’t lead to a SEV?

Here is a photo of the memory graph.

Hi there,

  1. I recommend searching online for resources about how to debug Rails apps
  2. Since we do not offer controls in the Dashboard for this kind of thing yet, the best way I can think of is to leverage our REST API, e.g.

Let us know if you have any further questions.


Render Support Engineer, MT (UTC-6, UTC-7 in Winter)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.