Thanks for the link. I'm using a very early version of Hobo, 1.0 something or 1.1 I think, my problem has probably already been fixed. I'm starting to believe it might be because my app allows people to upload avatars, and the file size is not limited. This could quite easily use far too much memory.
Thanks for the help John. On Thursday, September 20, 2012 2:14:21 PM UTC+1, Bryan Larsen wrote: > > What version of Hobo are using? I haven't noticed anything > egregiously bad, but I'm not deploying on Heroku either nor have I > looked closely, either. > > About all I can offer is this: > > http://stackoverflow.com/questions/161315/ruby-ruby-on-rails-memory-leak-detection > > > Obviously memory leaks in Hobo would be considered a bug, so if you > can narrow it down or provide a simple test case reproduction, we'll > put a fairly high priority on fixing it. > > cheers, > Bryan > > > On Wed, Sep 19, 2012 at 12:08 PM, tomkins <[email protected] <javascript:>> > wrote: > > Hi, > > > > I have a memory leak in my app which is causing it to crash on Heroku. > > Would replacing all occurrences of: "names = Hobo::Model.all_models.map > do > > |m|" with "Model.find_each do |m|" help to reduce this problem? > > Also does anyone have advice on how to avoid memory leaks/Heroku R14 > errors? > > > > Thanks, > > John. > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Hobo Users" group. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/hobousers/-/i7QzDV-QThIJ. > > To post to this group, send email to [email protected]<javascript:>. > > > To unsubscribe from this group, send email to > > [email protected] <javascript:>. > > For more options, visit this group at > > http://groups.google.com/group/hobousers?hl=en. > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/s93Txc9m-5EJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
