On Mon, 10 Nov 2003 15:40:35 +0100 (CET), Andreas Aardal Hanssen <[EMAIL PROTECTED]> wrote:

On Mon, 10 Nov 2003, Ivan Baldo wrote:
Well, I had softlimit been set to 4 Mb, then 8 Mb, then 12, then 16,
then 20 and now 30 Mb.
I raised the limit whenever I saw connections failing because of that!
It happened with mailboxes with big messages with attachments,
though it doesn't seem related to the amount of messages, only the size
of them.

Hi, Iv�n. This is a known issue.


Today, Binc's memory consumption is equal to the size of the largest
message in a mailbox, converted to CRLF format. You will see the largest
memory consumer to be in the MaildirMessage class and MimePart's
printDoc/printBody function. Sadly, especially since memory a process has
been delegated once is never actually freed, this becomes a problem on
large systems.

Andy


Does this mean that softlimit should be set 4 MB (bincimapd process size after logging in on OpenBSD) + the size of the largest allowable message, if softlimit is to be used effectively?

Henry


We will get rid of this requirement. Binc should not have to require much memory, but sadly, today it does.

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."





-- Henry Baragar Principal, Technical Architecture 416-453-5626 Instantiated Software Inc. http://www.instantiated.ca

Reply via email to