What if any version of Ruby (2.2.2 or higher) runs in production on Heroku without causing R14 (out of memory) errors for Rails 5 apps? And if so, is "GC tuning" now required to get an app stable in production?
I am creating a new Rails app that will run on Heroku. I'd prefer to use Rails 5 but it requires Ruby 2.2.2+ and that version of Ruby was a disaster for Rails 4 memory usage on Heroku, for example: Does Ruby 2.2 Have Memory Issues on Heroku?
As noted in the S.O. thread linked above, Ruby 2.2.2 caused Rails 4.2 apps to run out of memory with R14 errors in a few hours under low load conditions even with half as many unicorn workers. I and other S.O. posters had to downgrade back to Ruby 2.0 to eliminate the R14 errors.
I have been unable to find any reports online indicating whether there is finally some version of Ruby higher than 2.0 that avoids the R14 issues, and allows Rails 5 apps to run stably on Heroku.