Why am I getting R14/R15 errors in Ruby?


A Ruby app is getting R14 or R15 errors via the logs or Dashboard alerts.


R14 and R15 errors occur when an app is using more that the available memory for the current dyno plan. This results in the app using the (slower) hard disk as a fallback which is known as "swapping".

For more information on this issue please see this article: https://devcenter.heroku.com/articles/ruby-memory-use

To track down memory leaks, intensive endpoints or processes in your Ruby application we also recommend using a monitoring addon to gather more detailed information https://elements.heroku.com/addons#monitoring This article https://blog.codeship.com/debugging-a-memory-leak-on-heroku/ (written by one of our Ruby team) is also a useful reference.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support
Terms of Service Privacy Cookies © 2018 Salesforce.com