FIrefox and Chromium use all RAM and pc freezes
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
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?
firefox ram
 |Â
show 7 more comments
up vote
1
down vote
favorite
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?
firefox ram
Add swap space. Readman mkswap;man swapon
.
â waltinator
Feb 9 at 16:19
1
that's not a solution for me, 4 tabs opened is not a lot + IDE is opened and nothing more
â Viktor
Feb 9 at 16:20
"I see significant memory usage" is kind of vague, can you post any evidence. Also, which precesses use RAM the most?
â mikewhatever
Feb 9 at 16:27
@mikewhatever Firefox tabs using the most memory it showing that one tab taking up to 400MB
â Viktor
Feb 9 at 16:29
1
i edited the question with the output of free-h and swapon -s
â Viktor
Feb 11 at 17:34
 |Â
show 7 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
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?
firefox ram
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?
firefox ram
firefox ram
edited Feb 13 at 19:50
![](https://i.stack.imgur.com/Qwl2d.jpg?s=32&g=1)
![](https://i.stack.imgur.com/Qwl2d.jpg?s=32&g=1)
Fabby
24.5k1352154
24.5k1352154
asked Feb 9 at 15:21
![](https://lh3.googleusercontent.com/-UdfNRs43AEc/AAAAAAAAAAI/AAAAAAAAAZ0/b4smhVOBuPE/photo.jpg?sz=32)
![](https://lh3.googleusercontent.com/-UdfNRs43AEc/AAAAAAAAAAI/AAAAAAAAAZ0/b4smhVOBuPE/photo.jpg?sz=32)
Viktor
1064
1064
Add swap space. Readman mkswap;man swapon
.
â waltinator
Feb 9 at 16:19
1
that's not a solution for me, 4 tabs opened is not a lot + IDE is opened and nothing more
â Viktor
Feb 9 at 16:20
"I see significant memory usage" is kind of vague, can you post any evidence. Also, which precesses use RAM the most?
â mikewhatever
Feb 9 at 16:27
@mikewhatever Firefox tabs using the most memory it showing that one tab taking up to 400MB
â Viktor
Feb 9 at 16:29
1
i edited the question with the output of free-h and swapon -s
â Viktor
Feb 11 at 17:34
 |Â
show 7 more comments
Add swap space. Readman mkswap;man swapon
.
â waltinator
Feb 9 at 16:19
1
that's not a solution for me, 4 tabs opened is not a lot + IDE is opened and nothing more
â Viktor
Feb 9 at 16:20
"I see significant memory usage" is kind of vague, can you post any evidence. Also, which precesses use RAM the most?
â mikewhatever
Feb 9 at 16:27
@mikewhatever Firefox tabs using the most memory it showing that one tab taking up to 400MB
â Viktor
Feb 9 at 16:29
1
i edited the question with the output of free-h and swapon -s
â Viktor
Feb 11 at 17:34
Add swap space. Read
man mkswap;man swapon
.â waltinator
Feb 9 at 16:19
Add swap space. Read
man mkswap;man swapon
.â waltinator
Feb 9 at 16:19
1
1
that's not a solution for me, 4 tabs opened is not a lot + IDE is opened and nothing more
â Viktor
Feb 9 at 16:20
that's not a solution for me, 4 tabs opened is not a lot + IDE is opened and nothing more
â Viktor
Feb 9 at 16:20
"I see significant memory usage" is kind of vague, can you post any evidence. Also, which precesses use RAM the most?
â mikewhatever
Feb 9 at 16:27
"I see significant memory usage" is kind of vague, can you post any evidence. Also, which precesses use RAM the most?
â mikewhatever
Feb 9 at 16:27
@mikewhatever Firefox tabs using the most memory it showing that one tab taking up to 400MB
â Viktor
Feb 9 at 16:29
@mikewhatever Firefox tabs using the most memory it showing that one tab taking up to 400MB
â Viktor
Feb 9 at 16:29
1
1
i edited the question with the output of free-h and swapon -s
â Viktor
Feb 11 at 17:34
i edited the question with the output of free-h and swapon -s
â Viktor
Feb 11 at 17:34
 |Â
show 7 more comments
1 Answer
1
active
oldest
votes
up vote
-1
down vote
What you're running into is called swapping: You're out of RAM and the kernel swaps unused programs to disk. Setting swappiness to 10 just means the kernel is swapping later rather than earlier (as the default is 60).
As swapping to disk is 1000 times slower than using RAM it just looks like your PC is freezing, but it's not.
You have a few options:
- Don't use Chromium: that's a real memory hog; stick to Firefox only!
- Use AdBlock+ (advertisements eat memory too)
- Use NoScript (only allow the scripts you need on the pages you need)
- Use fewer tabs
- set swappiness back to 60 and be patient when swapping
and the easiest solution of all:
- Buy more RAM
(also the most expensive)
The free is after boot, not when the problem is happening as by then hard reset is done. Let's see what reaction your comment gets.
â Fabby
Feb 19 at 0:03
1
@userunknown ¯_(ãÂÂ)_/¯
â Fabby
Feb 19 at 18:30
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
What you're running into is called swapping: You're out of RAM and the kernel swaps unused programs to disk. Setting swappiness to 10 just means the kernel is swapping later rather than earlier (as the default is 60).
As swapping to disk is 1000 times slower than using RAM it just looks like your PC is freezing, but it's not.
You have a few options:
- Don't use Chromium: that's a real memory hog; stick to Firefox only!
- Use AdBlock+ (advertisements eat memory too)
- Use NoScript (only allow the scripts you need on the pages you need)
- Use fewer tabs
- set swappiness back to 60 and be patient when swapping
and the easiest solution of all:
- Buy more RAM
(also the most expensive)
The free is after boot, not when the problem is happening as by then hard reset is done. Let's see what reaction your comment gets.
â Fabby
Feb 19 at 0:03
1
@userunknown ¯_(ãÂÂ)_/¯
â Fabby
Feb 19 at 18:30
add a comment |Â
up vote
-1
down vote
What you're running into is called swapping: You're out of RAM and the kernel swaps unused programs to disk. Setting swappiness to 10 just means the kernel is swapping later rather than earlier (as the default is 60).
As swapping to disk is 1000 times slower than using RAM it just looks like your PC is freezing, but it's not.
You have a few options:
- Don't use Chromium: that's a real memory hog; stick to Firefox only!
- Use AdBlock+ (advertisements eat memory too)
- Use NoScript (only allow the scripts you need on the pages you need)
- Use fewer tabs
- set swappiness back to 60 and be patient when swapping
and the easiest solution of all:
- Buy more RAM
(also the most expensive)
The free is after boot, not when the problem is happening as by then hard reset is done. Let's see what reaction your comment gets.
â Fabby
Feb 19 at 0:03
1
@userunknown ¯_(ãÂÂ)_/¯
â Fabby
Feb 19 at 18:30
add a comment |Â
up vote
-1
down vote
up vote
-1
down vote
What you're running into is called swapping: You're out of RAM and the kernel swaps unused programs to disk. Setting swappiness to 10 just means the kernel is swapping later rather than earlier (as the default is 60).
As swapping to disk is 1000 times slower than using RAM it just looks like your PC is freezing, but it's not.
You have a few options:
- Don't use Chromium: that's a real memory hog; stick to Firefox only!
- Use AdBlock+ (advertisements eat memory too)
- Use NoScript (only allow the scripts you need on the pages you need)
- Use fewer tabs
- set swappiness back to 60 and be patient when swapping
and the easiest solution of all:
- Buy more RAM
(also the most expensive)
What you're running into is called swapping: You're out of RAM and the kernel swaps unused programs to disk. Setting swappiness to 10 just means the kernel is swapping later rather than earlier (as the default is 60).
As swapping to disk is 1000 times slower than using RAM it just looks like your PC is freezing, but it's not.
You have a few options:
- Don't use Chromium: that's a real memory hog; stick to Firefox only!
- Use AdBlock+ (advertisements eat memory too)
- Use NoScript (only allow the scripts you need on the pages you need)
- Use fewer tabs
- set swappiness back to 60 and be patient when swapping
and the easiest solution of all:
- Buy more RAM
(also the most expensive)
answered Feb 13 at 19:59
![](https://i.stack.imgur.com/Qwl2d.jpg?s=32&g=1)
![](https://i.stack.imgur.com/Qwl2d.jpg?s=32&g=1)
Fabby
24.5k1352154
24.5k1352154
The free is after boot, not when the problem is happening as by then hard reset is done. Let's see what reaction your comment gets.
â Fabby
Feb 19 at 0:03
1
@userunknown ¯_(ãÂÂ)_/¯
â Fabby
Feb 19 at 18:30
add a comment |Â
The free is after boot, not when the problem is happening as by then hard reset is done. Let's see what reaction your comment gets.
â Fabby
Feb 19 at 0:03
1
@userunknown ¯_(ãÂÂ)_/¯
â Fabby
Feb 19 at 18:30
The free is after boot, not when the problem is happening as by then hard reset is done. Let's see what reaction your comment gets.
â Fabby
Feb 19 at 0:03
The free is after boot, not when the problem is happening as by then hard reset is done. Let's see what reaction your comment gets.
â Fabby
Feb 19 at 0:03
1
1
@userunknown ¯_(ãÂÂ)_/¯
â Fabby
Feb 19 at 18:30
@userunknown ¯_(ãÂÂ)_/¯
â Fabby
Feb 19 at 18:30
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%2f1004588%2ffirefox-and-chromium-use-all-ram-and-pc-freezes%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
Add swap space. Read
man mkswap;man swapon
.â waltinator
Feb 9 at 16:19
1
that's not a solution for me, 4 tabs opened is not a lot + IDE is opened and nothing more
â Viktor
Feb 9 at 16:20
"I see significant memory usage" is kind of vague, can you post any evidence. Also, which precesses use RAM the most?
â mikewhatever
Feb 9 at 16:27
@mikewhatever Firefox tabs using the most memory it showing that one tab taking up to 400MB
â Viktor
Feb 9 at 16:29
1
i edited the question with the output of free-h and swapon -s
â Viktor
Feb 11 at 17:34