Taming Rails memory bloat
One simple ENV setting to halve your Sidekiq or Puma memory usage: MALLOC_ARENA_MAX=2
https://www.mikeperham.com/2018/04/25/taming-rails-memory-bloat/
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
One simple ENV setting to halve your Sidekiq or Puma memory usage: MALLOC_ARENA_MAX=2
https://www.mikeperham.com/2018/04/25/taming-rails-memory-bloat/
Post a comment