Red Hat Bugzilla – Bug 568693
Memory with Evolution
Last modified: 2010-07-07 08:49:27 EDT
Description of problem:
evolution leaks memory. On my x86_64 Fedora 12 box I have found a few time now that all the memory have gone away cause the machine to swap.
What appears to happen is after evolution is exited it is not really exiting and leaves evolution processes running. These processes over 12 hours use all of my 8gigs and good part of the 6 gig of swap. Killing the process with kill frees all memory back to the system.
Version-Release number of selected component (if applicable):
Seems to do it randomly, unable to trigger it.
Steps to Reproduce:
1. Run evolution
2. Do normal email stuff i.e. read email and send email.
3. Quit evolution
4. Check to see if it has really quit, if not watch memory slowly leak away.
Large memory leak.
No memory leak.
Let me know of any information I can gather to help fix this.
Thanks for a bug report. What account types do you have setup in evolution? It's like IMAP, POP3, .... Could you install debug info packages for evolution and evolution-data-server and when you'll see that evolution is not quit after say 5 minutes it disappears after File->Quit, could you get its actual state, please? You can achieve that with these steps, for example:
a) close evolution and run on console: evolution --force-shutdown
b) run evolution on that console (maybe something useful will be shown there)
c) use it as you described above, and then quit it.
d) watch evolution console from b) whether something new appeared after c)
e) after those ~5 minutes, if evolution still running, run this command:
$ ps -A | grep evo
to get evolution process ID (used PID below)
$ gdb --batch --ex "t a a bt" -pid=PID &>evo.bt
the evo.bt should contain actual state of it.
The other option is to run evolution in valgrind and see where it leaked the memory, but as it's too slow I would suggest to start with the above.
Thanks in advance.
Using IMAP accounts with all mail stored on server.
Will install debug packages and try and catch it.
Created attachment 396710 [details]
Looks like valgrind is reporting a leak.
I'm seeing unbelievably high memory usage with Evo in F-13, using evolution-exchange to connect to OWA. It is currently using 253 MB of RES memory, out of 1 GB available on the system.
With imap, on another system, I'm seeing almost 100 MB of RES being used.
Hmm... I'm also seeing memory leaks in krb5-auth-dialog and Xvnc with F-13. Maybe something all of these use is causing such high memory consumption. Not sure.
Up to 254 MB RES now. WOW!
Thanks for the update, David. Your valgrind log shows some leaks (those definitely lost), but even it's not nice to have them there, it's nothing significant. Even I agree it can grew in time.
> LEAK SUMMARY:
> definitely lost: 30,276 bytes in 109 blocks
> indirectly lost: 80,112 bytes in 2,486 blocks
> possibly lost: 23,882,321 bytes in 284,665 blocks
> still reachable: 1,675,501 bytes in 15,250 blocks
> suppressed: 0 bytes in 0 blocks
I'm moving this upstream, as it's not a Fedora specific issue. Please see  for any further updates.
Bojan, if you are not using only IMAP, and you see this too, please try to get the valgrind log as well and update  with it, as maybe it's on a different place for you. Also, have a valgrind log for 2.30 would be really appreciated, because there is not planned any update to 2.28 and thre were quite large changes between 2.28 and 2.30 with respect of background architecture. Thanks in advance.
This(In reply to comment #6)
> Bojan, if you are not using only IMAP, and you see this too, please try to get
> the valgrind log as well and update  with it, as maybe it's on a different
> place for you. Also, have a valgrind log for 2.30 would be really appreciated,
> because there is not planned any update to 2.28 and thre were quite large
> changes between 2.28 and 2.30 with respect of background architecture. Thanks
> in advance.
>  https://bugzilla.gnome.org/show_bug.cgi?id=620815
I'm using this with evolution-exchange. I didn't pay particular attention to any possible leaks on another machine where I use IMAP (more memory, more reboots).
I'm running evo under valgrind now, with --leak-check=yes --trace-children=yes. It is terribly slow, but hopefully I can get something out of it.
Any chance of applying some of the patches to Evo in F-13? Or rolling of 2.30.3?
There is planned 2.30.3 update for evolution packages, though the date wasn't set yet (I didn't notice any exact date myself). But the update will be done.
(In reply to comment #9)
> There is planned 2.30.3 update for evolution packages, though the date wasn't
> set yet (I didn't notice any exact date myself). But the update will be done.
Wonderful, thank you.