in reply to Memory Leaks can it be helped?
For some reason when I run this script I get 2 lines or errors all the time so I call a clear screen to clear the errors. It has somting to do when I call the Win32::Perms and File::DirWalk
I think there might be a relation between these errors and the memory use. I also note that you're using globals for some of the data that doesn't need to persist. If you were to use properly-scoped lexicals, you may see less memory use.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Memory Leaks can it be helped?
by runrig (Abbot) on Aug 17, 2007 at 20:14 UTC | |
by chromatic (Archbishop) on Aug 17, 2007 at 23:21 UTC |