[MlMt] Memory usage
Philip Paeps
philip at trouble.is
Fri Nov 19 00:13:42 EST 2021
On 2021-05-15 03:53:52 (+0800), Patrik Fältström via mailmate wrote:
> On 14 May 2021, at 20:05, Benny Kjær Nielsen wrote:
>> Any strategies for using less memory? [too many virtual mailboxes]
>>
>> I might regret this if there turns out to be unintended side effects,
>> but you could possibly delete some of the database index files such
>> as those for the “received” header. Some are more important than
>> others for the internal workings of MailMate while others are only
>> needed if searched explicitly.
>
> Aha, ok, I have not looked at the size of the database files.
>
> [...]
>
> -rw------- 1 paf staff 2.1G May 14 21:42 received.cache
>
> [...]
Replying to this old thread from May this year for the benefit of others
with absurd amounts of email.
MailMate became deeply unhappy last week when my received.cache grew
beyond 4GB (2^32 bytes).
Benny added a check to r5847 to stop MailMate from corrupting its
database when a 32 bit overflow happens. Even with this check however,
it still won't be able to use an index larger than 4GB. You'll have to
delete it (rm received.*). As a bonus, MailMate will use appreciably
less memory.
Philip
--
Philip Paeps
Senior Reality Engineer
Alternative Enterprises
More information about the mailmate
mailing list