From: Scott Ellsworth Date: 2005-07-14T09:30:51+09:00 Subject: Re: How do I reduce the memory usage of a script? In article <8HKdneMVh9MZDUjfSa8jmA@karoo.co.uk>, "daz" wrote: > if (!found) then > puts "Unknown #{f}" > end > data = nil > GC.start # garbage collect This did seem to drop the memory usage on my MacOS X 10.4.2 system. I will investigate the Find.find command next to see if I can get rid of some recursion. An array of 5500 paths should not be _that_ big, at least in comparison with four or five levels of directory depth. Scott -- Scott Ellsworth scott@alodar.nospam.com Java and database consulting for the life sciences