Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Timing of garbage collection

by zwon (Monsignor)
on Jan 19, 2013 at 06:00 UTC ( #1014172=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Timing of garbage collection
in thread Timing of garbage collection

It doesn't depend on Perl version, it depends on malloc implementation.


Comment on Re^4: Timing of garbage collection
Replies are listed 'Best First'.
Re^5: Timing of garbage collection
by flexvault (Prior) on Jan 19, 2013 at 15:08 UTC

    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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014172]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2015-07-29 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls