Ruby's rmagick Gem looking for a maintainer
github.com
github.com
mini_magick uses Subexec which in turn causes a fork and exec and might, depending on how ruby's backtick operator work, also start a shell which in turn does another exec for the specific ImageMagick binary.
The process startup time alone is a significant overhead and so is the additional memory usage.
In the old days, when I was maintaining a mail server for a free web mail service, I remember the lengths I went through to prevent my MTA from forking for mail delivery due to the huge cost of launching another process.
"Using MiniMagick the ruby processes memory remains small (it spawns ImageMagick’s command line program mogrify which takes up some memory as well, but is much smaller compared to RMagick)"
Forking isn't always bad. See http://tomayko.com/writings/unicorn-is-unix
I'll have to check out minimagick, it might be cleaner than what I am doing now.
Its just safer to keep it in a different process.
Requesting bugs fixed this way is bad in a normal situation, but doing so as an answer to a call for help to keep the project moving forward is disgraceful.
http://stackoverflow.com/questions/958681/how-to-deal-with-memory-leaks-in-rmagick-in-ruby/959473#959473See: http://rubyforge.org/forum/forum.php?thread_id=1374&foru...