Ruby 2.2在Heroku上有内存问题吗? [英] Does Ruby 2.2 Have Memory Issues on Heroku?

查看:162
本文介绍了Ruby 2.2在Heroku上有内存问题吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很多人在使用Heroku时将Ruby应用程序从Ruby 2.0切换到Ruby 2.1时遇到了内存使用问题。例如,请参阅内存使用率随着Ruby 2.1与Ruby 2.0或1.9而增加。 Ruby 2.2是否解决了这些问题?

解决方案

我给Ruby 2.2试了一下Rails 4.2, 2.1也发生了。我切换回Ruby 2.0。 Rails 5需要Ruby 2.2及更高版本,所以我希望有人能找到解决这个问题的方法。


Many people experienced issues with memory usage when switching their Rails app from Ruby 2.0 to Ruby 2.1 on Heroku. For example, see Memory usage increase with Ruby 2.1 versus Ruby 2.0 or 1.9. Are these issues resolved with Ruby 2.2?

解决方案

I gave Ruby 2.2 a try with Rails 4.2 and the same memory problems that plagued Ruby 2.1 also occurred. I am switching back to Ruby 2.0. Rails 5 will require Ruby 2.2 and higher so I hope someone will find a way to fix this.

这篇关于Ruby 2.2在Heroku上有内存问题吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆