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?
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.You can stop
gvfsd-mtp
process to avoid the memory increase: