GNOME Bugzilla – Bug 758370
gnome-contacts-search-provider consuming 100% CPU
Last modified: 2018-01-24 15:17:16 UTC
Several folks have reported to me that /usr/libexec/gnome-contacts-search-provider starting up and consuming 100% cpu and making for a less-than-optimal desktop experience. The workaround is to link gnome-contacts-search-provider to /bin/true. But it would be great to figure out what is going wrong. There is a corresponding fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=919889 Fixing this would be awesome...
Created attachment 336258 [details] High CPU and RAM use by gnome-contacts Resource usage out of control
Just to add, it's probably related to the evolution-ews getting corporate contact lists from the GAL (global address list) which can be large, e.g. 65K users. Perhaps gnome-contacts is not very efficient in handling iterating through the large GAL when updating contacts periodically? E.g. seems to load all contact data into memory instead of "streaming" through it.
*** Bug 701580 has been marked as a duplicate of this bug. ***
Hey everyone. I just updated the code a bit to directly use the SearchView in Folks (commit 024738f on master). I'm hoping that this will improve both performance & memory usage a bit. There are still ways of speeding up that code, but those are found in libfolks, rather than in gnome-contacts. Since I'm not in the position to do a lot of benchmarking right now: can someone check if it's gotten better for them?
Also, thank you for taking your time to report this :-)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-contacts/issues/67.