Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Avoiding memory loss...

by J.Perl.Man (Novice)
on Dec 27, 2012 at 22:41 UTC ( #1010589=note: print w/ replies, xml ) Need Help??


in reply to Re: Avoiding memory loss...
in thread Avoiding memory loss...

So perhaps I'm right to be concerned about cleanup... the program itself will be installed as a daemon, so anything I can do to prevent long term consumption, or to force garbage collection would be good.

What method do you recommend to remove the array? My read of delete (man page) against an array leads me to believe that I'm still waiting on true garbage collection


Comment on Re^2: Avoiding memory loss...
Re^3: Avoiding memory loss...
by LanX (Canon) on Dec 27, 2012 at 23:48 UTC
    > So perhaps I'm right to be concerned about cleanup

    No don't worry, Anonymous probably confuses the garbage collection systems.

    Perl doesn't freeze!

    Just be careful to not produce circular references.

    Cheers Rolf

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-11-01 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (227 votes), past polls