in reply to Freeing memory used by arrays

Yet Another Explanation: Your script HAS 'freed' the memory and will make use of the 'freed' memory if it can. But your process is going to keep the memory allocated for it's own purposes unless the OS requests that it free up some.

This is common behavior with interpreted and byte-code-based languages.

Hanlon's Razor - "Never attribute to malice that which can be adequately explained by stupidity"

Replies are listed 'Best First'.
Re: Re: Freeing memory used by arrays
by Anonymous Monk on Dec 04, 2003 at 22:05 UTC
    In Java you can set an upper limit on how much memory java can consume. I wish perl had this feature.
        Why? I wish perl had the same feature, don't you think it would be useful?