Subject: Re: How do I reduce the memory usage of a script?
From: "daz" <dooby d10.karoo.co.uk>
Date: Thu, 14 Jul 2005 07:12:23 +0900
References: 148048148053
(Called away from keyboard)
Compare last with:
if (!found) then
puts "Unknown #{f}"
end
data = nil
GC.start # garbage collect
.... which will garbage collect more often.
Best,
daz