question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Ubuntu 16.10] System slowdown due to increased memory usage upon resume

See original GitHub issue

screenshot from 2017-03-14 22-33-19

🤷🏽‍♂️ Current Behaviour

When resuming from suspend (not checked after hibernation), one of two pb-for-desktop processes increases its memory usage until fully taking up all available RAM.

🎯 Expected Behaviour

Not to leak memory this much (duh? 😄)

👟 Steps to Reproduce (S2R)

  1. Suspend machine
  2. Resume machine
  3. Wait and see as PB for Desktop eats your RAM away! App Version v3.8.0 Installation Type deb file install Operating System Ubuntu GNOME (16.10) 64-bit

screenshot from 2017-03-16 11-27-20

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
SolarLinercommented, Apr 18, 2017

I’m testing regularly, updating as the updates go… It does seem to be random though, as not all resumes yield memory leaks.

0reactions
SolarLinercommented, Jul 4, 2017

So after a while of random memory leaks, I might have found that I was mislead before - memory leaks also randomly happen on network status change. And since I use my laptop and suspend it before moving, there might be a time where the computer loses network while it reacquires wi-fi signal. This is what I think actually trips pb-for-desktop and make it start building up memory onto infinity.

This might also be why the leak happened with my computer - as the WiFi dongle I use doesn’t have an Ubuntu driver, I’m stuck sharing internet with my phone through USB. Unplugging it causes a network change - and the rest is history.

Further evidence towards this is the fact that I have carefully avoided any ad-hoc network change on my desktop PC and I did not see any leaks in a while now.

But, it remains relatively random which makes me think there is even more to it than that…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ubuntu 20.04 slows down after usage
It's been a while that after some usage (e.g. firefox, some video-calls, etc.) it becomes slow. There are some processes which start to...
Read more >
Linux slows down after long uptime - Unix Stack Exchange
The only explanation is that the machine really isn't idle, something is running and dirtying memory, and the useful contents are being forced ......
Read more >
Chrome eats all available memory, causing the system to ...
Just try activiating some swap space and monitor chrome's usage. It will terribly increase. One tab process showing a small picture can take...
Read more >
Ubuntu Running Slow? 8 Tips to Speed Up Your Linux PC
1. Manage Startup Applications. The first thing you can do is limit the applications which start as soon as you boot your computer....
Read more >
Ubuntu 4GB Ram Limitation and Solution - nixCraft
Don't forget: if you see less RAM as physically is installed, it could be that your video card is using shared memory (especially...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found