Re:Ruby 3x3: Matz, Koichi, and Tenderlove on the Future of R...
by sams99 on Thursday November 10, 2016 @07:40PM
(#12926280)
I did hand tune stuff
https://github.com/discourse/discourse_docker/blob/master/te...
RUBY_GC_HEAP_GROWTH_MAX_SLOTS is critical without it you get way too much bloat. The default is very problematic I discussed this with ko1 but not sure if we can get a better default in for 2.4.
Just by playing around with RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR you can reduce memory consumption quite a bit.