Memory usage
Miah Gregory <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I've written a simple perl script using MailBox to scan through a MailDir, checking the age of messages, and moving or deleting them given certain rules. Whilst the script seems to work ok, it does take a long time to run, but the main problem is memory usage - with a big folder with, say, 5000 messages in it, the script exhausts the memory on the machine. Is there anything I can do to improve either of the above? Thanks in advance. -- Miah Gregory