Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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 (Chancellor) 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2016-10-28 11:20 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (381 votes). Check out past polls.