pinkhas at nisanov.com
Tue Oct 2 02:31:58 PDT 2012
On Tue, Oct 2, 2012 at 8:48 AM, Shmuel Fomberg <shmuelfomberg at gmail.com>wrote:
> *after* the function is run, the Perl process will be 20MB big. and that
> memory is not usable for the rest of the program - it is reserved for
Can you explain "that memory is not usable for the rest of the program"?
AFAIK memory used by function will be usable for rest of program (if there
is no reference to that function). Just tested it with small script with
two recursive memory intensive functions.
After first function run memory grow up significantly, but after second
function memory did not grow at all. that means second function reused
memory used by first function.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Perl