Ruby 2.2 在 Heroku 上有内存问题吗?

编程入门 行业动态 更新时间:2024-10-27 02:25:07
本文介绍了Ruby 2.2 在 Heroku 上有内存问题吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

许多人在 Heroku 上将他们的 Rails 应用从 Ruby 2.0 切换到 Ruby 2.1 时遇到了内存使用问题.例如,参见 与 Ruby 2.0 或 1.9 相比,Ruby 2.1 的内存使用量增加.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?

推荐答案

我在 Rails 4.2 中尝试了 Ruby 2.2,并且也出现了困扰 Ruby 2.1 的相同内存问题.我正在切换回 Ruby 2.0.Rails 5 需要 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 上有内存问题吗?

本文发布于:2023-10-13 09:33:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1487582.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:上有   内存   Ruby   Heroku

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!