Pfew, that's one Rails instance just eating more and more memory indeed. Have you been able to boil it down to RMagick itself. Otherwise I would suggest leaving thumbnailing out for a second and just saving the uploaded file to see if it is in fact the thumbnailing that eats your memory. We can work our way down from there.
On 01 Dec 2009, at 11:56, Trausti Thor Johannsson wrote: > Before > ----- Passenger processes ----- > PID VMSize Private Name > ------------------------------- > 14530 16.6 MB 0.5 MB > /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/ > passenger-2.2.7/ext/apache2/ApplicationPoolServerExecutable > 0 /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/ > passenger-2.2.7/bin/passenger-spawn-server > /opt/ruby-enterprise-1.8.7-20090928/bin/ruby /tmp/passenger.14523 > 14531 100.8 MB 8.8 MB Passenger spawn server > 22565 191.2 MB 7.7 MB Passenger ApplicationSpawner: > /services/apache/example.com > 22567 193.3 MB 7.8 MB Rails: /services/apache/example.com > ### Processes: 4 > ### Total private dirty RSS: 24.75 MB > > after 1 picture > > ----- Passenger processes ----- > PID VMSize Private Name > ------------------------------- > 14530 16.6 MB 0.5 MB > /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/ > passenger-2.2.7/ext/apache2/ApplicationPoolServerExecutable > 0 /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/ > passenger-2.2.7/bin/passenger-spawn-server > /opt/ruby-enterprise-1.8.7-20090928/bin/ruby /tmp/passenger.14523 > 14531 100.8 MB 8.8 MB Passenger spawn server > 22565 191.2 MB 17.9 MB Passenger ApplicationSpawner: > /services/apache/example.com > 22567 286.0 MB 82.9 MB Rails: /services/apache/example.com > ### Processes: 4 > ### Total private dirty RSS: 110.11 MB > > picture 2 > > ----- Passenger processes ------ > PID VMSize Private Name > -------------------------------- > 14530 16.6 MB 0.5 MB > /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/ > passenger-2.2.7/ext/apache2/ApplicationPoolServerExecutable > 0 /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8/gems/ > passenger-2.2.7/bin/passenger-spawn-server > /opt/ruby-enterprise-1.8.7-20090928/bin/ruby /tmp/passenger.14523 > 14531 100.8 MB 8.8 MB Passenger spawn server > 22565 191.2 MB 23.3 MB Passenger ApplicationSpawner: > /services/apache/example.com > 22567 317.6 MB 120.0 MB Rails: /services/apache/example.com > ### Processes: 4 > ### Total private dirty RSS: 152.59 MB -- 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.