[imp] Hardware request ( RAM ) of WebMail System

edwardspl@ita.org.mo edwardspl at ita.org.mo
Fri Jan 5 20:59:12 PST 2007


Chuck Hagenbuch wrote:

> Quoting Paul Holt <pcholt at bluebottle.com>:
>
>> Argh. We had these problems too. You see there are points in IMP and
>> Pear MIME
>> where the entire message is handled up to three times, and therefore
>> there
>> are briefly three copies in memory. If the attachment is base64
>> encoded, add
>> another 40%, so you get 10*3*1.4=42MB just for the attachment.
>>
>> I went through the IMP 2.* code at one stage, and cut it back to
>> having only
>> two copies in memory at a time maximum. I also did a version trying
>> to do all
>> message manipulations in a temporary file, I was able to have just
>> one string
>> in memory at a time, but this proved unstable... though it could be done
>> again.
>
>
> A number of changes have been made recently to help with memory usage,
> and more are always welcome.
>
> -chuck
>
So...does the new version ( least ) of imp request no more mem ?



More information about the imp mailing list