search for: resizework

Displaying 1 result from an estimated 1 matches for "resizework".

Did you mean: resizeworker
2006 Aug 07
4
Memory leak?
...anged the start script to include environment.rb and therefore the ENTIRE Rails environment, because my Image model is an engine plugin. Then, I have it perform this upon acceptance: MiddleMan.new_worker :class => :resize_worker, :args => self.id And here are the contents of ResizeWorker: class ResizeWorker < BackgrounDRb::Rails def do_work(args) image = Image.find(args) image.resize_all terminate end end If I run this on a few dozen images simultaneously I watch as top starts slowly requiring more memory for backgroundrb. Dropping into script/conso...