in reply to Memory Issue
Start with what you know leaks, then start chopping pieces out of it until the leak stops. The last thing you chopped is a likely culprit. If you notice that the leakage decreases, you might have multiple culprits.
In a "normal" script, POD directives are a great way to chop stuff out without really removing it. E.g.,
removes that line of code, as far as the compiler is concerned.=for DEBUGGING my @big = ('foo') x 100000000; =cut
Since you're using PerlScript, you might need to comment lines out. I don't know if PerlScript can cope with POD.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Memory Issue
by atticboy1 (Initiate) on May 31, 2003 at 05:41 UTC | |
by dws (Chancellor) on May 31, 2003 at 09:41 UTC |