Open mcritchlow opened 6 years ago
I'm placing this here so we don't forget..
https://www.mikeperham.com/2018/04/25/taming-rails-memory-bloat/
Basically, once we start using Sidekiq for DAMS5, we should experiment with doing both of these things. The differences in memory usage are... startling, and if we were paying cloud costs this would be a very expensive thing to not do
MALLOC_ARENA_MAX = 2
--with-jemalloc
More info: https://bugs.ruby-lang.org/issues/14718
Descriptive summary
I'm placing this here so we don't forget..
https://www.mikeperham.com/2018/04/25/taming-rails-memory-bloat/
Basically, once we start using Sidekiq for DAMS5, we should experiment with doing both of these things. The differences in memory usage are... startling, and if we were paying cloud costs this would be a very expensive thing to not do
MALLOC_ARENA_MAX = 2
--with-jemalloc
Rationale
More info: https://bugs.ruby-lang.org/issues/14718