On Tue, Jun 11, 2002 at 06:11:37PM +0100, [EMAIL PROTECTED] wrote: > NT OS how much perl had requested but this number doesn't go down when you > execute %unique=().
Perl doesn't free the memory used by %unique on the assumption it would just have to reallocate it when you use %unique again, which in this case is correct. If you want to free up the memory in %unique (back to Perl's pool, not the system), "undef %unique". AFAIK there is no easy way to force Perl to return memory to the system, nor is there to figure out how much memory Perl is using and more importantly, how much Perl is holding in it's memory pool and how much it's actually using to store data. PS A small hack which might make the above faster is to pre-extend %unique using "keys %unqiue = SOME_BIG_NUMBER" -- This sig file temporarily out of order.
