GNOME Bugzilla – Bug 631582
evolution extremely slow and resource hungry at times
Last modified: 2011-02-14 17:07:22 UTC
OS: opensuse 11.3 x86_64 Evolution: 2.32.0 Account: Gmail IMAP+ Calendar: Gmail Evolution consumes lots of resources and makes whole system quite slow. Many times it uses lot of cpu and RAM specially when it shows status "Storing folder". This storing folder operation seems quite slow and takes longer. I have 4G RAM but when I use evolution, free memory goes down to ~30M. When I close it, it comes up to 1.3G. So as per that it seems evolution uses >1G memory(25% of total) which I think it not normal.
Can you provide valgrind / strace info? Currently the report is a bit vague...
Can you please guide how to get it.
Does it have any relation with sent mail folder which is ~1.5G? As it consumes memory around that size and "Storing folder" message is probably for sent folder but not 100% sure though.
When you see high cpu load, please get gdb traces. To achieve this, start evolution under gdb, when cpu goes high like 85-100%, do 'ctrl+c', then 't a a bt' and paste the traces here. If you are seeing high memory consumption, then use valgrind. Please refer https://wiki.ubuntu.com/Valgrind for more information. If possible, please upgrade to Evolution 2.32.1.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!
This still persists in 2.32.1. Below are gdb traces as requested. I'll send valgrind info later. ^C Program received signal SIGINT, Interrupt. 0x00007ffff5e5b6b3 in poll () from /lib64/libc.so.6 (gdb) t a a bt
+ Trace 225516
Thread 34 (Thread 0x7fffdd38c710 (LWP 24339))
Valgrind log was bigger hence uploaded at below location. http://www.filefactory.com/file/b4hbg5b/n/valgrind.log.tar.bz
Created attachment 178219 [details] strace This is the strace from start to condition of more memory usage(~2% of 4GB) and sluggishness. Free memory before starting evo: ~1G Free during execution: ~35M Free memory on closing evo: ~1G I feel it is partly due to sent mails size. Size of Sent mail: 1.6G
I think this should be taken as higher priority as it is happening often during the day and every time I send new email. Evolution makes my whole system slow, leaves barely 30M free memory and hence I can't use other apps also and have to wait for evolution to finish current operation.
I recently created a maildir account and configured my primary account to use "Sent Mail" of that new maildir account for sent emails and it is working much better now. I think 2.91.x branch has maildir option for sent mails but I don't have packages in suse repo to try so I'll check later and accordingly close the issue.
(In reply to comment #10) > I think 2.91.x branch has maildir option for sent mails but I don't > have packages in suse repo to try so I'll check later and accordingly close > the issue. That's true, 2.91.5+ or such uses maildir as a local mail storage, which doesn't have one file per folder, but one file per message, which makes all this kind of stuff behave much better than with mbox format.
Yeah I noticed that when I switched to 2.91.5 yesterday as it migrates mbox to maildir. Although I had to switch back to 2.32.1 because of other issues with message list display, we can consider this bug fixed so marking status as such.
Thanks. Use rather recent version, which is 2.91.6, though the git master is the best bet these days, due to fixes on gtk3 side as well.
I tried to reporduce it here anyway, and apart of some slowness which is sort of expected when doing expunge of 1.5GB file I didn't find much. I fixed few leaks, though.