Mitigation for gvfs memory leak?
up vote
4
down vote
favorite
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?
18.04 gvfs memory-leak
 |Â
show 1 more comment
up vote
4
down vote
favorite
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?
18.04 gvfs memory-leak
I have the same issue. Any news?
â Madh
Jun 17 at 13:31
1
New kernel on 18.04 did not help. Neither did a workaround I found on superuser to limit memory use by process :(
â Organic Marble
Jun 17 at 14:15
1
In my case I can stopgvfsd-mtp
process (pkill -STOP gvfsd-mtp
) to avoid the memory increase.
â Madh
Jun 17 at 14:57
Thanks. As I was writing this I realized I was probably doing the workaround wrong - I was limiting virtualbox and it should have been gvfs. I won't be able to try it again for a few days
â Organic Marble
Jun 17 at 18:22
I confirm the issue.
â markroxor
Jul 5 at 10:48
 |Â
show 1 more comment
up vote
4
down vote
favorite
up vote
4
down vote
favorite
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?
18.04 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?
18.04 gvfs memory-leak
asked May 15 at 17:48
Organic Marble
9,67763053
9,67763053
I have the same issue. Any news?
â Madh
Jun 17 at 13:31
1
New kernel on 18.04 did not help. Neither did a workaround I found on superuser to limit memory use by process :(
â Organic Marble
Jun 17 at 14:15
1
In my case I can stopgvfsd-mtp
process (pkill -STOP gvfsd-mtp
) to avoid the memory increase.
â Madh
Jun 17 at 14:57
Thanks. As I was writing this I realized I was probably doing the workaround wrong - I was limiting virtualbox and it should have been gvfs. I won't be able to try it again for a few days
â Organic Marble
Jun 17 at 18:22
I confirm the issue.
â markroxor
Jul 5 at 10:48
 |Â
show 1 more comment
I have the same issue. Any news?
â Madh
Jun 17 at 13:31
1
New kernel on 18.04 did not help. Neither did a workaround I found on superuser to limit memory use by process :(
â Organic Marble
Jun 17 at 14:15
1
In my case I can stopgvfsd-mtp
process (pkill -STOP gvfsd-mtp
) to avoid the memory increase.
â Madh
Jun 17 at 14:57
Thanks. As I was writing this I realized I was probably doing the workaround wrong - I was limiting virtualbox and it should have been gvfs. I won't be able to try it again for a few days
â Organic Marble
Jun 17 at 18:22
I confirm the issue.
â markroxor
Jul 5 at 10:48
I have the same issue. Any news?
â Madh
Jun 17 at 13:31
I have the same issue. Any news?
â Madh
Jun 17 at 13:31
1
1
New kernel on 18.04 did not help. Neither did a workaround I found on superuser to limit memory use by process :(
â Organic Marble
Jun 17 at 14:15
New kernel on 18.04 did not help. Neither did a workaround I found on superuser to limit memory use by process :(
â Organic Marble
Jun 17 at 14:15
1
1
In my case I can stop
gvfsd-mtp
process (pkill -STOP gvfsd-mtp
) to avoid the memory increase.â Madh
Jun 17 at 14:57
In my case I can stop
gvfsd-mtp
process (pkill -STOP gvfsd-mtp
) to avoid the memory increase.â Madh
Jun 17 at 14:57
Thanks. As I was writing this I realized I was probably doing the workaround wrong - I was limiting virtualbox and it should have been gvfs. I won't be able to try it again for a few days
â Organic Marble
Jun 17 at 18:22
Thanks. As I was writing this I realized I was probably doing the workaround wrong - I was limiting virtualbox and it should have been gvfs. I won't be able to try it again for a few days
â Organic Marble
Jun 17 at 18:22
I confirm the issue.
â markroxor
Jul 5 at 10:48
I confirm the issue.
â markroxor
Jul 5 at 10:48
 |Â
show 1 more comment
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
You can stop gvfsd-mtp
process to avoid the memory increase:
pkill -STOP gvfsd-mtp
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
You can stop gvfsd-mtp
process to avoid the memory increase:
pkill -STOP gvfsd-mtp
add a comment |Â
up vote
1
down vote
accepted
You can stop gvfsd-mtp
process to avoid the memory increase:
pkill -STOP gvfsd-mtp
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
You can stop gvfsd-mtp
process to avoid the memory increase:
pkill -STOP gvfsd-mtp
You can stop gvfsd-mtp
process to avoid the memory increase:
pkill -STOP gvfsd-mtp
answered Jul 5 at 16:58
Madh
1263
1263
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036636%2fmitigation-for-gvfs-memory-leak%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I have the same issue. Any news?
â Madh
Jun 17 at 13:31
1
New kernel on 18.04 did not help. Neither did a workaround I found on superuser to limit memory use by process :(
â Organic Marble
Jun 17 at 14:15
1
In my case I can stop
gvfsd-mtp
process (pkill -STOP gvfsd-mtp
) to avoid the memory increase.â Madh
Jun 17 at 14:57
Thanks. As I was writing this I realized I was probably doing the workaround wrong - I was limiting virtualbox and it should have been gvfs. I won't be able to try it again for a few days
â Organic Marble
Jun 17 at 18:22
I confirm the issue.
â markroxor
Jul 5 at 10:48