Version: (using KDE KDE 3.4.3)
Installed from: Gentoo Packages
Compiler: GCC 3.3.6
When importing an Outlook Express mailbox with approximately 22,000 messages in it, Kmail used up all available memory on my system (approximately 750 MB) after importing 16,295 messages and was killed by the OS.
Do you have a different mailbox to test with? (ie, to see if it's a problem with large outlook mailboxes in general, or just the one you tried)
I've only got one mailbox large enough. It successfully imported the second and third largest mailboxes I've got, at 5700 and 3600 messages respectively.
Can you artificially create a large outlook mailbox (say, by copy/pasting a message lots of times in outlook), and try importing that to kmail?
I haven't been able to reproduce this behavior exactly with any other mailbox, but by adjusting the amount of free memory on my system, I'm able to get any mailbox with 2500+ messages to cause the system to run out of memory and kill *something* to free up memory -- it's just never been kmail that's been killed.
Could you attach a large (and possibly one small) outlook mailbox, so that I can try importing?
Is Kmail or KmailCVT using all your memory?
We had such problems already in the past and this was fixed (see http://lists.kde.org/?l=kde-pim&m=111139960430968&w=2).
I take a look at this and try to reproduce.
According to "top", Kmail's what's using the memory. KmailCVT stays under 15MB the whole time.
As for providing a large mailbox, I'd like to, but the bug reporter's got a limit of 1MB on attachments, and I can't compress any of the large mailboxes I've got down below about 1.5MB.
1MB is fine too. For the mailbox, you don't need to send your private email, just create a mailbox with some bogus emails in it, and duplicate them a few times so that the box is large enough. I'm asking this because I don't have Outlook:)
Created attachment 15808 [details]
An Outlook Express mailbox containing 2351 mailing-list emails
An Outlook Express mailbox containing 2351 mailing-list emails. On my system,
importing it into Kmail causes Kmail to use an additional 44MB of memory.
I'm also running into the problem of too much memory usage when fetching 40000 mails from pop3. after about 28.000 mails, my system is thrashing and kmail is using all of the memory it can get (1,5G mem, 3G swap).
Please retest on a recent version.
Retesting will need to wait for Bug 322303 to be resolved.
Appears to be fixed. I just successfully imported a large (22,000 message) mailbox with no appreciable change in memory usage by either Kmail or KmailCVT.