Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Enforce Memory Cleanup

by Laurent_R (Parson)
on Jun 17, 2014 at 18:01 UTC ( #1090182=note: print w/ replies, xml ) Need Help??


in reply to Enforce Memory Cleanup

Are you undefining the hash or the hash values? Deleting the keys would probably work, but I suspect that a proper use of scope would probably be faster at freeing the memory used by the hash. You should really show us your code for a better comprehension of what is happening and what to do.


Comment on Re: Enforce Memory Cleanup
Re^2: Enforce Memory Cleanup
by solegaonkar (Beadle) on Jun 18, 2014 at 03:45 UTC
    Guess you are right.. Am I messing up things because of the scope here? Not very sure. I have added the code above. Can you please have a look at that - to see if there is something I am missing there?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2014-10-25 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (145 votes), past polls