in reply to Re^3: Timing of garbage collectionin thread Timing of garbage collection
It doesn't depend on Perl version, it depends on malloc implementation.
Under Debian Linux the real memory was returned to the system, but under AIX 5.2, the real memory increased after the 'undef $x;'. I used
`ps -o "rssize" -p $$`
to determine the real memory used.
So it looks like it is system dependent code as zwon pointed out.
"Well done is better than well said." - Benjamin Franklin
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (531 votes). Check out past polls.