Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 having an uproarious good time at the Monastery: (5)
As of 2018-06-23 07:37 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.