Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Freeing perl memory?

by halxd2 (Monk)
on Jan 28, 2000 at 20:45 UTC ( [id://2576]=note: print w/replies, xml ) Need Help??


in reply to Freeing perl memory?

I had hoped for a better answer to this question. I had been counting on perl's garbage collector to free memory. Now I see that I must be more conservitave with my memory use. A varible that dies with it's subrutine doesn't free that memory. I use little test varibles like $junk to test output before commiting changes. I can see now that the testing varible needs to be global. It really changes the way I'll be using memory in perl. fork()'ing might be a quicky solution, but we need to look for ways to trace memory use. Memory leaks in long running programs would cause major problems.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-24 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found