From: ts Date: 2000-08-11T18:16:22+02:00 Subject: [ruby-talk:04430] Re: Real world performance problems >>>>> "A" == =?iso-8859-1?Q?Aleksi Niemel=E4?= writes: A> I don't know any real solution to this right now. GC is slow, so let's not A> do it, OTOH without GCing now and then we run out of memory *fast*. Have you tried something like this : GC.disable 24001.times do |i| # if i%1000 == 0 GC.enable GC.start GC.disable end end Guy Decoux