From: Brett Simmers Date: 2007-07-04T11:07:48+09:00 Subject: Re: Garbage Collection Joel VanderWerf wrote: > > What ruby version? > > I have the same problem with 1.8.6, but not with 1.8.4. > > I'm pretty sure GC will have run by now. The threshold starts out at > around 8Mb (GC runs when the total requested allocation since the last > GC exceeds the threshold). > > (It's a good idea to have a DRb backdoor to a process like this, so > that you can connect to it and issue commands, not just GC.start.) > I think the server it's running on has 1.8.5. Thanks to everyone for the responses, those articles were definitely interesting. I did some quick calculations based on which objects I know are persisting and I think it's actually using about 900kb per day of ram so manually activating GC wouldn't help much. I redesigned the core of the app and the next version isn't going to have nearly as much state so that won't be a problem any more when I deploy it next week.