I decided to check around for any glaring memory leaks in Mephisto
after receiving this comment on the Mephisto blog:
--------
Rick,
I think there's a memory leak in the image processor stuff –
unfortunately, I haven't been able figure out exactly where it is.
(I've seen this happen without uploading any images at all, BTW). With
the ASSET_IMAGE_PROCESSOR set to either :rmagick or :image_science,
I've been seeing memory usage increase steadily while clicking around
the admin UI. However, with the image processor turned off, memory
usage stabilizes at around 58MB.
Cheers, Vivek
---------
I've tried using ab to hit various actions, and tried uploading
several large wallpapers at a time. With ImageScience, my memory
might peak at about 45MB, but usually drops down to about 42MB by the
next request or so. RMagick jumps up to around 80-90MB each time but
immediately falls back down. Is anyone seeing any vastly different
behavior?
--
Rick Olson
http://weblog.techno-weenie.net
http://mephistoblog.com