Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a piddly 2GB of RAM in my 8 or so year old laptop and Chrome really likes to use all of it. Is there some way to control how much memory either all of Chrome or specifically its memory cache uses?

To be doubly clear, I am not asking about any disk caches.

If the answer is that I should have 'just Googled it', then please tell me what you searched for so that I can improve my Google-fu.

share|improve this question
    
on a related note, there are light-weight browsers. superuser.com/questions/152421/ultra-lightweight-web-browser –  barlop Apr 11 '11 at 16:11
add comment

1 Answer

up vote 1 down vote accepted

I don't think there is a way to set a hard limit on RAM usage. If you think about it, what would Chrome do when you hit the limit? Close pages? Not allow you to do anything else?

Instead of a hard limit there are ways to manage the RAM usage manually. You can use the Task Manager (Shift+Esc) to find pages that are sucking up RAM the most and close them. There is also a hidden Purge function that you can turn on by adding

--purge-memory-button

as an argument to the Chrome shortcut. After you launch with this command line argument you will have a Purge Memory button in the Task Manager that should free up RAM if you're running low.

You can read more about this here.

share|improve this answer
    
Thanks. At some point I will have to figure out exactly what this button does, but at least it shows up. I feel like I saw reference to this awhile ago before it made it into the Chrome releases. –  altendky Sep 10 '10 at 1:37
    
From what I understand the button "re-evaluates" memory demands. Lets say for instance you had a page with lots of images open in one of the tabs. You then navigated to google.com within that same tab. Even though google.com takes up a lot less memory than a page full of pictures the tab still keeps the memory it reserved. So now google.com is taking up the same amount of RAM as that page full of pictures. What the Purge button does is it has Chrome evaluate how much memory is needed for open pages and releases memory that is not needed anymore. –  Marcin Sep 10 '10 at 6:38
    
This is a good way to reclaim the memory without having to close the tab and open another page in a new tab. The way Chrome works is apparently it will ask for more memory when it needs it but it does not release memory it already has unless you close the tab or window. (Or obviously use this Purge function). –  Marcin Sep 10 '10 at 6:41
    
Makes sense, thanks. –  altendky Sep 14 '10 at 15:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.