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
In reply to Re^5: Timing of garbage collection
by flexvault
in thread Timing of garbage collection
by dd-b
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |