I have a problem that I'm trying to solve for a long time. I'm using Ubuntu 16.04 dual boot with Windows 10:
When I'm using several tabs in Firefox or Chromium, I see significant memory usage. One tab takes up to 500MB of RAM and when it gets to 3,7GB Ram usage my pc freeze and only what I can do is hard-reset my pc.
I've tried several things to solve this problem:
- Disabled all add-ons in Firefox (Firefox version is 58)
- Update kernel to 4.13
- Disabled "Use hardware acceleration when available" and made more thing to optimize Firefox performance
- Tried to use Firefox in safe mode
- Increased swapping vm.swappiness=10 and swap to 8gb
I have a total 4GB of RAM. I never had that problem using Windows before only this happens on Ubuntu.
free --human output:
total used free shared buff/cache available
Mem: 3,7G 1,2G 1,2G 50M 1,3G 2,2G
Swap: 8,1G 0B 8,1G
swapon output
Filename Type Size Used Priority
/swapfile file 8388604 0 -1
/dev/sda5 partition 102396 0 -2
uname -r output
4.13.0-32-generic
What else can I try to solve the problem?