Skip to content

Comment on Garbage Collection and the Ruby Heap

Comments

If you haven't, tune the garbage collector for rails. By tuning, I was able to improve the performance of my production application by about 60%.

Can you elaborate a bit on this? Did you simply patch the GC? I've seen Evan Weaver's post (http://blog.evanweaver.com/articles/2009/04/09/ruby-gc-tunin...) on it, but that's it.

tmm1OP

GC tuning is easy with REE, you can set environment variables to change the behavior of the mark and sweep collector. See slides 50-53 for more info.

Thanks for the info! I'll check out REE again.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.