Mitigation for gvfs memory leak?

I have a workflow like this: I fire up my Win7 virtual machine, connect my smartphone, and run Samsung Smartswitch. This worked great in 14.04 LTS.

In 18.04 LTS…not so much. There’s a giant memory leak in gvfsd-mtp that hoovers up all 12G of my RAM and brings my system to a halt.

There are bugs related to this and I’ve reported another. My question is, can there be any mitigation for this? Is there a way to fence in gvfs so it cannot use up all the RAM?

Answer

It should be solved in upcoming release of gvfs (version 1.39.90, if I understand the version scheme). The fixing commit is this.

I had the same bug but with gvfsd-google, as I use GDrive as storage for Déjà Dup Backup.

Attribution
Source : Link , Question Author : Organic Marble , Answer Author : Bender250

Leave a Comment