bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RAM usage when reading email


From: Olivier Bornet
Subject: RAM usage when reading email
Date: Thu, 31 Oct 2002 11:45:51 +0100
User-agent: Mutt/1.4i

Hello,

I want to know how the RAM is used when reading an email with the
mailbox library. Here is my questions:

- how about the headers ? I have see in the code the headers are cached
  at the read time. So, if I understand correctly, if I read all the
  subjects of the emails, after that, all the headers are in the cache.
  As this cache some limits ?

- how about the bodies ? I don't have see some caching stuff for the
  buddies. So, I suspect the RAM used for the reading of the bodies is
  almost only the RAM used in the client part.

- how about the attachements ? I think it's the same as the bodies :
  it's up to the application to do caching if necessary. This mean, if
  we read for example the 2nd attachement of an email, then the 1st one,
  the email is read 2 times. In opposite, if we read the 1st one before,
  then the 2nd one, this result of only one download of the message.
  Right ?

- all the above queries are related to the POP protocol. Is this the
  same for IMAP ?

- and, more generally, are they some "big memory" allocation in the
  mailbox library ?

Thanks in advance for any help.

                Olivier
-- 
Olivier Bornet                      http://www.smartdata.ch/
address@hidden         SMARTDATA SA
Phone: +41-27-723'55'03             Rue du Collège 5A
GPG key ID: C53D9218                CH-1920 Martigny

Attachment: pgpShNECdEQKB.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]