On 04 Dec 2009, at 11:13, Trausti Thor Johannsson wrote: > Does that mean I need to change any more code than is in my model ? > > I did set GC.start inside Photo.save in the controller. The situation > does not go out of hand any more, but the app is using quite a lot of > memory none the less.
RMagick is quite memory hungry. RMagick 2 does have automatic garbage collection, but it seems you might be running into this gotcha: http://rubyforge.org/forum/forum.php?thread_id=1374&forum_id=1618 Best regards Peter De Berdt -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.