Bug#443259: libmail-box-perl: mail::box is practically unusable on large folders

Celejar celejar at gmail.com
Wed Sep 26 05:42:46 UTC 2007


On Mon, 24 Sep 2007 18:29:21 +0200
gregor herrmann <gregor+debian at comodo.priv.at> wrote:

> On Wed, 19 Sep 2007 20:41:43 -0400, Celejar wrote:
> 
> > I have a (MH) folder containing about 30000 mails.  Merely opening it
> > seems to require about 50 MB.  
> 
> Hi,
> 
> I've passed your report on the author of the module who has closed
> the bug upstream but provided some hints.
> 
> Please take a look at
> http://rt.cpan.org/Public/Bug/Display.html?id=29580 and see if this
> helps.

Both of Mark's suggestions work;  using $obj->destruct seems to be much
better than periodically opening and closing the folder, at least in my
situation, since a) it's much faster, since there's a large penalty in
opening a large folder, b) it uses even less memory and c) it's less
kludgy.

> Cheers,
> gregor

Thanks,
Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator






More information about the pkg-perl-maintainers mailing list