Memory usage and perlby Anonymous Monk
|on Mar 14, 2003 at 13:44 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
How can i delete perl stuff from memory. I've understood that commands like delete, shift and undef do these. But it doesn't seem to be so. Test code below (uses ~170M memory). I watched memory usage with gtop. What happens to memory after is has been removed from perl (shift/undef/delete etc)? Can it be reused by other apps? Perl itself might be able to reuse, but i haven't tested enough to make more certain points.