GNOME Bugzilla – Bug 622455
Memory leak in gvfsd
Last modified: 2018-09-21 17:03:58 UTC
When there's an audio CD in the drive (it might work with data discs too, but i havent tried it), the gvfsd process gradually uses more and more memory. At one point, i had it using about 2GB before i noticed and killed it. For me, its memory usage increases by about 1MiB every second. Removing the CD stops the increase, but doesnt free up used memory. Observed on both gentoo and ubuntu 10.04. Also verified by others, ubuntu bug 433500: https://bugs.launchpad.net/ubuntu/+bug/433500 Marked this as major since it occurs whenever an audio cd's in the drive, which is quite a common use of the GNOME desktop
In gentoo downstream bug report: http://bugs.gentoo.org/show_bug.cgi?id=341967 reporter thinks this can be avoided building gvfs with "cdda" support, while building gvfs without it shows this bug
I am experiencing this bug at the moment. Gentoo amd64 4GB RAM kernel 2.6.39 Gnome 2.32.1 gvfs 1.6.7 with cdda support I must periodically kill gvfsd or my Gnome session terminates and I wind back up at the GDM greeter. This happens whether I have a removable disk in my drive or not. I do have xscreensaver 5.12 installed but my preferences are set to blank-screen-only.
I think I have something. I recently had to completely re-install because of a hard-disk crash and when I finished installing gnome (light) the problem was no longer apparent. Of course, it is installing all the little things that makes a system, so I would install a program or plugin every few days as I tried to regain functionality. At one point I installed an animated cursor theme because I like to have the cursor large and noticeable. This is exactly when the leak came back, as bad as ever. I endured it for a day or two to make absolutely sure it was in fact re-occurring. I was running out of memory almost hourly when using the system heavily. So making the connection, I uninstalled the animated cursor theme and the bug has yet to manifest again after more than a week.
-- 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/gvfs/issues/149.