Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 29580
Status: resolved
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors: gregor+debian [...] comodo.priv.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Memory consumption with large folders
Date: Sun, 23 Sep 2007 21:16:50 +0200
To: bug-Mail-Box [...] rt.cpan.org
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
Hi, we have received a bug against the Debian package of Mail::Box that describes the huge memory consumption when browsing through folders with many emails. The full report is available at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443259 Please consider investigating this issue. Thanks in advance, Gregor (Debian Perl Group) -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Rolling Stones: It's Only Rock & Roll
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Perl is quite memory hungry... in MailBox case, especially the headers take a lot (remember that any scaler uses at least 24 bytes) Opening is LAZY, and therefore still fits in memory in your case. When you are using the message it is triggered to be read as a whole... and therefore the memory needs grow. See $msg->destruct to manually cleanup used messages... or re-open the folder each time you have processed a few thousands messages.
Subject: Re: [rt.cpan.org #29580] Memory consumption with large folders
Date: Mon, 24 Sep 2007 18:32:30 +0200
To: Mark Overmeer via RT <bug-Mail-Box [...] rt.cpan.org>
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
On Mon, 24 Sep 2007 02:31:00 -0400, Mark Overmeer via RT wrote: Show quoted text
> Perl is quite memory hungry... in MailBox case, especially the headers > take a lot (remember that any scaler uses at least 24 bytes) > > Opening is LAZY, and therefore still fits in memory in your case. When > you are using the message it is triggered to be read as a whole... and > therefore the memory needs grow. > > See $msg->destruct to manually cleanup used messages... or re-open the > folder each time you have processed a few thousands messages.
Thanks for your suggestions, I've passed them on to the original bug submitter. Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Janis Joplin: Ball And Chain
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #29580] Memory consumption with large folders
Date: Wed, 26 Sep 2007 08:58:52 +0200
To: Mark Overmeer via RT <bug-Mail-Box [...] rt.cpan.org>
From: gregor herrmann <gregor+debian [...] comodo.priv.at>
On Mon, 24 Sep 2007 02:31:00 -0400, Mark Overmeer via RT wrote: Show quoted text
> See $msg->destruct to manually cleanup used messages... or re-open the > folder each time you have processed a few thousands messages.
The hints work for the original submitter, so I've now closed the bug in the Debian bug tracking system (and sorry for changing the status here from resolved to open by sending another mail :-)) Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian: the universal operating system - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- Kirk to Enterprise -- beam down yeoman Rand and a six-pack.
Ok, thanks for the good communication.