Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Did this help in any way? https://tunemygc.com

Just by playing around with ​ RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR you can reduce memory consumption quite a bit.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: