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

Re: [MacPerl] memory



Alex Hooper <alex@hipps.demon.co.uk> writes:
>My problem is I run out of memory. I wondered if I could use reset or undef
>to free up memory as I go along (and categories that I've dealt with become
>redundant).
>
>Can reset and undef free up memory?

Yes, as does delete. Perl has a garbage collector which is pretty good at
grabbing memory back if it's not referenced anymore.

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "I'm set free to find a new illusion" -- Velvet Underground


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch