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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.