Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
G'day Carl, Welcome to the monastery. There are a number of potential reasons why you're seeing this behaviour; it may not be limited to a single cause. There may be problems in your code, in modules you're using or both. Perhaps data is being continually added to some variable which is simply growing over time; perhaps you have an issue with Circular References; perhaps it's something else. So, without having seen your code, it's rather difficult (as I'm sure you'll appreciate) to either identify the problem or advise how to deal with it. If you can track down the problem to some part of your code, that would be a start. Test::LeakTrace may be helpful here. There's also a number of tools in CPAN: Development Support that might be useful. Take a look at the documentation for any modules you're using. There may be caveats regarding memory issues (and possibly workarounds). Also check for any bug reports that might be related: there may be fixes in more recent modules, patches you can apply or workarounds you can use. There may be modules with similar functionality (but without the same problems) that you could use instead. If you identify where in your code the problem lies but don't know how to fix it, you can post that code here and ask a more specific question. If you do this, you'll get the best answers if you follow the guidelines in "How do I post a question effectively?". -- Ken In reply to Re: How to deal with the fact that Perl is not releasing memory
by kcott
|
|