【发布时间】:2019-09-09 08:39:08
【问题描述】:
如何在 Rails 服务器上的工作 ruby 中添加 jemalloc?我们使用 rvm 安装了 ruby。
Rails version:5.2
Ruby version:2.5.1
我试过了
ruby -r rbconfig -e "puts RbConfig::CONFIG['LIBS']"
我得到了谁的输出
-lpthread -lgmp -ldl -lcrypt -lm
我看到一篇文章 Lower Memory Usage of your Rails App with Jemalloc 但它使用的是 rbenv
【问题讨论】:
标签: ruby-on-rails ruby rvm jemalloc