Hello all. I was curious if anyone has patched file-column so that when you do multiple versions of a photo it doesn''t need to use so much memory. A 7.8 megabyte file on my server is quickly eating 350 megs of ram. If you figure you have 5 background tasks processing files at the same time you quickly are over a gig of RAM, which is just unacceptable to me right now for the scale of our project. I don''t want to ditch file_column though because I like the way it works and have it pretty deeply rooted. I am just hoping there is a way to cleanup the memory between the versions it writes or something so at max it uses just over 100 megs. Let me know. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mark Reginald James
2007-May-11 15:12 UTC
Re: better File_Column version garbage collecting?
Bryan Corey wrote:> Hello all. I was curious if anyone has patched file-column so that when > you do multiple versions of a photo it doesn''t need to use so much > memory. A 7.8 megabyte file on my server is quickly eating 350 megs of > ram. If you figure you have 5 background tasks processing files at the > same time you quickly are over a gig of RAM, which is just unacceptable > to me right now for the scale of our project. > > I don''t want to ditch file_column though because I like the way it works > and have it pretty deeply rooted. I am just hoping there is a way to > cleanup the memory between the versions it writes or something so at max > it uses just over 100 megs. Let me know.Are you using the latest file_column SVN trunk, which has some calls to run the Ruby garbage collector, or the most recent release (0.3.1)? -- We develop, watch us RoR, in numbers too big to ignore. --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mark Reginald James wrote:> Bryan Corey wrote: >> it uses just over 100 megs. Let me know. > Are you using the latest file_column SVN trunk, which has some calls > to run the Ruby garbage collector, or the most recent release (0.3.1)? > > -- > We develop, watch us RoR, in numbers too big to ignore.you may want to take a look at upload_column -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---