in reply to Re: demonstrate that perl can give back memory to the OS
in thread demonstrate that perl can give back memory to the OS
An explanation:
Lexical (my) variables and their string (or array) buffers aren't deallocated on scope exit whenever possible, only cleared. undef $var; (but not $var = undef;) deallocates the variable's string buffer.
|
|---|