RMagick is teh evil

Believe the hype. RMagick is an evil, memory leaking package. Do not use it. I always wondered why my Mongrels were sluggish; and why they often seemed to hang.

Of course I always knew I shouldn’t have used RMagick. But it’s just too darn handy. And it could not be that bad, right? Right?

Well, it can. It really can. RMagick eats memory like crazy and does not let go. Just shifting that stuff out is like night and day. Happy Mongrels, happy proxies, a happy front end, a happy admin and most importantly happy users.

If your Ruby/Rails app is acting slow: get rid of RMagick. Really.

About joost

Senior Ruby on Rails web developer, with a focus on content and media management. I have built, and continue to maintain, some of the busiest sites in The Netherlands. I strongly advocate a pleasant and concise user experience, agile development, web standards and open source software.