in reply to tracking down a memory leak in $_
If what you mean is that your program grows over time, that doesn't indicate a memory leak. A leak is when memory is allocated and then becomes unaccessible and is never used again. Chances are, your program is growing because it needs the memory for something you're doing.
For advice on how to avoid using too much memory with Perl, see the mod_perl book.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: tracking down a memory leak in $_
by edan (Curate) on Jul 20, 2006 at 19:09 UTC | |
by perrin (Chancellor) on Jul 20, 2006 at 19:40 UTC |