Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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

Replies are listed 'Best First'.
Re^3: Avoiding memory loss...
by LanX (Bishop) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010589]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2018-01-17 12:10 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (198 votes). Check out past polls.