Is there anything you can do to force garbage collection in a case
like this? (loading in a few hundred records, or using send_file,
send_data?)

I already went through my application and removed RMagick (now using
mini-magick) but I'm still having monit restart a mongrel instance
every day (running 12, get maybe 2-4 restarts a day, even at odd times
like 2am, when there's little use on the site)

Any help apprecaited. Thanks.


>         As far as the memory usage goes, that sounds like a classic memory
> leak in your rails app. I have seen mongrel balloon like that when
> people add an extra :include directive to a find that ends up loading
> a ton of extra records into memory. If you are loading more then a
> few hundred ActiveRecords into memory on any one page then that will
> surely cause memory to ballon like this.
>
>         A little more info about your app and what it does woudl help debug.
> Are you using Rmagcik? Are you useing send_file or send_data to
> stream out large content?
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to