Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Large Memory

by weismat (Friar)
on Dec 22, 2008 at 14:20 UTC ( [id://732086]=note: print w/replies, xml ) Need Help??


in reply to Large Memory

Do you have circular references so that the garbage collector is not cleaning up - circular references can lead to so a memory growth. This is the most likely reason.
Another potential sources are external libraries, e.g. I have seen huge leaks with WWW-Mechanize. These are not really traceabl
I would go through the code and check everything which should be collected. From my pov there is no pragma which will help you.

Replies are listed 'Best First'.
Re^2: Large Memory
by way (Sexton) on Dec 22, 2008 at 15:01 UTC

    OK, i guess so that I must check each variable manually, Thank you so much

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-26 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found