Mailing List Archive

Re: Memory leaks in 5.002beta1?
In-Reply-To: <memo.998019@cix.compulink.co.uk>
> I have a long-running perl script which is used to process a 28Mb file.
> This makes extensive use of objects and complex nested reference
> datatypes, but other than that doesn't do anything too clever, eg no
> evals etc.

I forgot to mention that the processing does not require all 28Mb in
memory the file contains approx 17,000 records - the largest record is
about 5K. The processing is as follows:

open input file
open output file
while not EOF input file
create input record object
read next input record
create output record object
map input record -> output record
write output record
destroy input record
destroy output record
close input file
close output file

Alan Burlison aburlison@cix.compulink.co.uk