LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2017, 10:24 AM   #1
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Rep: Reputation: Disabled
Question Memory Fills Up In Mint 18 with Google Chrome


I'm not sure if the problem is caused only by Chrome, but it seems to cause the worst of it. When I leave my computer on for a while, usually with a browser window and a few tabs open, my system memory slowly fills up. However, the memory does not go down much when I close out of all applications. When I have a fresh slate after rebooting, there's usually about 700-800 MB used. After closing all apps, there can be up to 5 or 6 GB still used. When I look in the System Monitor Processes tab, the total of all the running apps is much lower than the amount of memory shown to be used in the Resources tab.

What's causing this? I'm getting tired of having to reboot all the time to clean it out.

Linux Mint 18, MATE desktop
Dell Inspiron 5559; 8GB RAM
 
Old 05-25-2017, 12:29 PM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
I'm a little confused by your question. If your computer has 8gb of RAM, and you are only using 5 or 6gb, then you have 2 or 3gb free, and there is no problem. There's certainly no need to "reboot to clean it out." That would be like saying, "I went on vacation, and noticed my suitcase was 75% full, so I drove home to drop off some of my clothes to make more room."

(edit) This site explains the concept much more eloquently than I can: http://linuxatemyram.com

Last edited by snowday; 05-25-2017 at 01:50 PM.
 
Old 05-25-2017, 02:03 PM   #3
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
But the memory is not available, but also not being used by anything. I don't technically NEED to reboot unless I'm going to be running a game, but the point is that a bunch of memory is still being used after I close out of everything.

*reads the site you linked* Ok, that makes sense ... but the graph I'm looking at shows the cache as a different color than the actual used memory. (attachment 1) The lighter green shows the used memory, the darker green above it shows the cached memory, and the black at the top shows unused memory. The light green of used memory is what grows up and doesn't go back down. This makes sense for the cache, but it's not the cache that's staying full. (Maybe just the graphs are picking up the wrong data?) The System Monitor >> Resources graph (attachment 2) shows the same level as the used memory, disregarding the cache the other graph shows.
Attached Thumbnails
Click image for larger version

Name:	Screenshot at 2017-05-25 14-51-44.png
Views:	34
Size:	1.6 KB
ID:	25107   Click image for larger version

Name:	Screenshot at 2017-05-25 14-59-10.png
Views:	25
Size:	20.5 KB
ID:	25108  
 
Old 05-25-2017, 02:33 PM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Here's an experiment you can try:

1) Reboot the machine so everything is "fresh."
2) Start your stopwatch.
3) Launch Chrome.
4) Load a bunch of web pages.
5) Stop the stopwatch and make note of the elapsed time.
6) Quit Chrome.
7) Start Chrome again.
8) Load the same web pages.
9) Stop the stopwatch and compare this time to the first time.

I bet you will find that Chrome loaded faster the second time, because of the cache.


Quote:
Originally Posted by Flexico View Post
I don't technically NEED to reboot unless I'm going to be running a game,
Which game are you trying to play, and what specifically happens when you try to launch it? Does the computer crash? Freeze up? Give an error message (and if so, what is the error message)?
 
Old 05-25-2017, 02:37 PM   #5
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
I've just never run games when the RAM looked full. I have a little system resources graph on my taskbar, so I'm always eyeballing my memory usage. I guess I just have to change how I interpret the RAM graph.
 
Old 05-25-2017, 02:56 PM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
If it needs extra RAM to run the game, Linux will clear some of the cache and/or move data from RAM to Swap. If I am interpreting your screenshot correctly, you have 17.6gb available for games (5.2gb RAM + 12.4gb Swap).

If, on a regular/routine basis, your RAM is approaching 100% and you are using a significant amount of Swap, then you might get a nice performance boost by increasing your RAM from 8gb to 16gb. The reason for this is that RAM is faster than Swap (especially if you are still using a spinning hard drive as opposed to SSD).
 
Old 05-25-2017, 02:59 PM   #7
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
I actually am planning to get a SSD and 16G RAM kit; just waiting on the money. :3 Thanks for the help.
 
Old 05-25-2017, 05:39 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Read linuxatemyram
 
  


Reply

Tags
laptop, memory, ram



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning when running the latest Google Chrome version on my 32 bit computer running Mint 17.2 Clived Linux Mint 4 01-22-2016 12:17 PM
LXer: Install Google Chrome 32 browser in Linux Mint 16 LXer Syndicated Linux News 0 01-17-2014 12:42 AM
[SOLVED] Google chrome and Mint Maya JohnnyF Linux - Software 3 11-10-2013 05:00 PM
Linux Mint - Google Chrome crashes when attempting to print web page azzivar Linux - Software 1 01-03-2011 12:02 PM
Yast fills up all the memory marco18 Linux - Software 2 07-11-2007 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:21 PM.

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
Open Source Consulting | Domain Registration