[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Memory requirement for arrays



In a (highly experimental) script a file of 205K was divided into 88 lists
of various sizes. To avoid an "out of memory" error MacPerl's memory
allotment had to be increased to 4MB.

Why do arrays take so much memory? Is there some way of estimating the
memory requirement? Is the situation the same for Perl generally as it is
for MacPerl in this respect?

Alan Fry
ajf@afco.demon.co.uk