LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-01-2018, 01:52 AM   #1
cilbuper
Member
 
Registered: Mar 2008
Posts: 122

Rep: Reputation: 0
Question "Web" process gobbling up RAM (2 - 18GB of RAM!!!)


So I've been noticing a new process that is using A LOT of ram. After a cold reboot and opening Chrome and Firefox, for 3 minutes, it is already at 4GB (or non-shared memory) between 3 processes. I somehow figured it was linked to Firefox as it was running when chrome hadn't been opened yet.

I must say I HATE the new FF Quantum as most of the add-ons I use won't work with it and I have to use the ESR and then that is having issues as well (much higher RAM usage as well, like 2-3x as much).

I thought 32GB of ram would be more than anywone would need for one system and I was using 3-6 heavy VM's at a time with this, but now, I can't run VM's as things slow to a crawl (SMFH...)..

I see that I'm not alone and that some people say the process is called "Web Content".

I do not have Java installed nor flash. I have a few adblock programs and other things to keep any background apps from running like no-script and I block ANY popup from any site. So IDK why this may be happening and I don't know how to diagnose it.

Anyone have any experience with this?
 
Old 01-01-2018, 03:15 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 8,745
Blog Entries: 5

Rep: Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141
make sure ff cleans up (cahe, cookies, maybe other stuff) after closing it, and make sure it doesn't leave any background processes running after closing it.

also, can you reproduce the issue with a particular website, and not with others?
 
Old 01-01-2018, 05:26 AM   #3
cilbuper
Member
 
Registered: Mar 2008
Posts: 122

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ondoho View Post
make sure ff cleans up (cahe, cookies, maybe other stuff) after closing it, and make sure it doesn't leave any background processes running after closing it.

also, can you reproduce the issue with a particular website, and not with others?
Well I go to Sysmonitor and end all Firefox (or Chrome) processes when I close it. Sometimes when I close Chrome, wait a few mins, then open it again, there will be 5-8 new processes opened at the same time and only one tab is open (and no "restore" option is open either). I'll kill it 10x in a row and it will still happen. doesn't happen every time, but a lot.

As far as making sure FF cleans up, I'm not sure how to do that so I'll look around. It started the 3 web (now there are 4 after about 1 hour of use and 4GB of data just for those 4 processes) after a clean reboot.

I don't know what could cause them as there seems to be no rhyme or reason as to when they pop up (I don't watch non-stop) but I use Gmail, and a few forums and google search and I'm really carful about sites I visit.
 
Old 01-01-2018, 05:37 AM   #4
_roman_
Member
 
Registered: Dec 2017
Location: _Austro_Bavaria_
Distribution: gentoo / linux mint
Posts: 433

Rep: Reputation: 28
Quote:
Originally Posted by cilbuper View Post
So I've been noticing a new process that is using A LOT of ram. After a cold reboot and opening Chrome and Firefox, for 3 minutes, it is already at 4GB (or non-shared memory) between 3 processes.
Anyone have any experience with this?
Quote:
roman@ASUS-G75VW ~ $ qlist -Iv google-chrome; qlist -Iv firefox
www-client/google-chrome-63.0.3239.108
www-client/firefox-bin-57.0.3
The reason why I dumped my ASUSg70sg wiht 4GiB RAM, Penryn T9500 with gentoo linux was RAM exhaustion.

Google chrome has a tendency to eat a lot of RAM. For 3 minutes it is quite low. I had in the past over 300 Tabs open for both browsers which caused RAM exhaustion quite fast.
Both browsers had a lot of memory holes. Programming errors which do not give back allocated RAM.

I also cleaned up 1.5 GB of offline data for google-chrome, firefox, opera in my homefolder.

These browsers are very wasteful with resources for several years.

Do you have many tabs open? Like something in 300 tabs each?

I also block no video run without clicking on them

--

I changed my working habits to use several different browsers for different tasks since several years.
So private and "work" related (maybe more sensitive tasks) are separated.

Last edited by _roman_; 01-01-2018 at 05:40 AM.
 
Old 01-01-2018, 05:55 AM   #5
sidzen
Member
 
Registered: Feb 2014
Location: Inland PNW
Distribution: Salix Puppy Siduction
Posts: 163

Rep: Reputation: Disabled
"As far as making sure FF cleans up, I'm not sure how to do that . . ."

Edit => Preferences

& this link.
 
Old 01-01-2018, 08:17 AM   #6
cilbuper
Member
 
Registered: Mar 2008
Posts: 122

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by _roman_ View Post
The reason why I dumped my ASUSg70sg wiht 4GiB RAM, Penryn T9500 with gentoo linux was RAM exhaustion.

Google chrome has a tendency to eat a lot of RAM. For 3 minutes it is quite low. I had in the past over 300 Tabs open for both browsers which caused RAM exhaustion quite fast.
Both browsers had a lot of memory holes. Programming errors which do not give back allocated RAM.

I also cleaned up 1.5 GB of offline data for google-chrome, firefox, opera in my homefolder.

These browsers are very wasteful with resources for several years.

Do you have many tabs open? Like something in 300 tabs each?

I also block no video run without clicking on them

--

I changed my working habits to use several different browsers for different tasks since several years.
So private and "work" related (maybe more sensitive tasks) are separated.
I'm like you. I have TONS of tabs open b/c I do a lot of research across my 5 monitors.. looking at 10 different topics at a time, cross referencing and such can really add up on the tab count.

I also use many browsers, sometimes 4-5 and each has their own strength. I'd install safari but it requires WINE and I'm suspicious of installing that as I've heard there are security issues with having WINE installed.

I need to figure out a process to purge all the cache data and memory on a daily (or maybe every 4-6 hours in some cases) for all my browsers. Thanks again!
 
Old 01-02-2018, 01:41 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 8,745
Blog Entries: 5

Rep: Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141Reputation: 2141
Quote:
Originally Posted by cilbuper View Post
Well I go to Sysmonitor and end all Firefox (or Chrome) processes when I close it.
that doesn't strike me as a good way to go about this.
do what sidzen suggested.
 
Old 01-04-2018, 10:18 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166
But also ... remember that "operating systems are designed to be lazy." Especially with regards to memory.

If there is currently no pressure on the memory resource, Linux (and Windows) isn't going to go out of its way to "clean it up." There's no competition for the resource right now, and who knows, maybe the application will hit that same area of memory again soon. (In which case we'll have caused more work for ourselves by "cleaning it up," just to have to page it in again, which we could have avoided just by leaving well enough alone.)

The operating system separately tracks the process's "working-set size," which is the number of pages that the process currently needs in order to run efficiently, but even this figure can be quite lazy.

If you want to assess how much memory an application actually needs, you need to run some other process that generates some amount of "stress," causing the virtual memory manager to have to do some "reaping." Infrequently-used pages will begin to be stolen. Gradually turn up the heat until the process-of-interest begins to be significantly delayed by I/O-wait. And, be sure that the process is actually doing something that's representative.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory/RAM Benchmarking software similar to "Sysbench" and the "mbw" tool Luck161 Linux - Software 0 08-14-2016 07:54 AM
[SOLVED] "Unable to fork: Cannot allocate memory" even 10GB RAM free postcd Linux - General 10 06-05-2016 12:03 PM
[SOLVED] System process "convert" found hogging 97% RAM Avenlanzer Linux - Security 6 03-10-2014 07:34 PM
New RAM not recognized - MSI Wind - "BIOS may corrupt low RAM" dbuss1 Linux - Laptop and Netbook 4 11-10-2012 10:16 AM
Syncronizing 3 distro's into one design; but how to "manage"/lower livecd ram use? linus72 Linux - General 0 05-10-2010 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration