[Ubuntu 16.10] System slowdown due to increased memory usage upon resume
See original GitHub issue🤷🏽♂️ 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)
- Suspend machine
- Resume machine
- 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
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (15 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m testing regularly, updating as the updates go… It does seem to be random though, as not all resumes yield memory leaks.
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…