Skip to main content

Why does Chrome use so much memory?

Here's why something like a web browser can eat away at all of your memory.

The Chrome browser runs pretty well on the best Chromebooks and even the cheaper ones, but it just eats RAM like candy on any other desktop platform. If you're the type who can't help but look at your computer's task manager, you'll see Chrome listed over and over, and each one of those instances seems to be sucking up more memory than it should. The crazy thing is that means it's working as intended.

It's all because of the way Google Chrome sandboxes the browser processes. Let's say you open Chrome to just your empty tab with the Google search box there. That means you have two Chrome processes running, each needing its own memory. Add another tab and you get three. Add the 50 or so tabs you end up opening by the end of the night and you have 51, each running semi-independently from the other and each taking up system resources.

That's only the beginning. Each extension starts another process. Chrome does some aggressive preloading of web pages so your internet browsing feels nice and snappy. Plenty of web pages also leak memory while they are open, which means the tab they are in will keep using more and more RAM until you close or refresh it.

Right about now you're probably asking how and why this could possibly be the intended behavior. I feel you; I, too, have used Chrome on a Mac all day and wanted to slam the lid shut in frustration. It's almost as bad on Windows, too.

Redundancy and Security

Yes, Chrome is using almost 16GB of RAM on my Windows 10 gaming PC.

Google can be weird. We all know this because we use its products, but sometimes it can go to the extreme over what seems like the smallest things, like browser page security and redundancy. That's why Chrome uses so much RAM.

Every tab you have open runs independently and can't communicate with another tab without you being in the middle. They all use a shared set of resources for things like the address bar or bookmarks, but the contents of each tab are sandboxed and act as an almost complete version of the browser.

This is good on some levels. A malicious website can't ever see what's going on inside another tab you have open, like your bank or your Gmail. What you type into a website isn't shared with another tab, either. And if a website crashes, it usually can't crash other tabs and take them down with it — a boon to anyone who works online for a living.

These are just "normal" tabs we're talking about here and if that's all we ever used, nobody would complain. Once you start adding in things like YouTube or any other video service, script heavy pages, pages that auto-refresh or whatever cool thing a web developer dreamed up that is more than just a bit of HTML code, the problem can get much worse.

Video rendering uses your GPU, as do plenty of websites with fancy CSS designs. Scripts can eat away at your CPU time, your disk reading and writing, and of course, your network resources are in use anytime you change tabs or refresh a page. This is just how Chrome works and is how Chrome has always worked.

The good news is that every person working at Google uses Chrome, too — especially the ones who work on the Chrome and Chromium teams. Google is doing a few things to address these issues by suspending tabs that haven't been used in a while and rethinking how it handles pre-caching.

These are all things that Chrome for the Mac or Chrome for Windows needs, but have you ever wondered why a 3-year old $199 Chromebook can run the browser better than a $3,000 MacBook Pro can? It's all in the way the operating system was built. Chrome OS is not the Chrome browser, but it was built in a way to do things like compress RAM used by the browser tabs and suspend background tabs almost as soon as you move away from one. MacOS and Windows aren't built this way and Chrome has to try and do it inside the confines of the operating system. It's also why Microsoft Edge runs poorly on a Mac and why Safari runs poorly on Windows (so poorly that Apple has stopped developing it!).

For now, you will just have to accept the fact that Chrome will be a memory hog or try a different browser like Firefox or Edge or Safari. But you'll be back, and Google knows it.

Chromebooks for all


Lenovo C340 at Amazon

Source: androidcentral

Popular posts from this blog

How to watch England vs New Zealand: Live stream 2nd Test series cricket on

With the first Test ending in a draw, the series is on a knife edge at Edgbaston, as Joe Root's side look to put off the field controversies to one side and claim a much needed win against the Kiwis. Don't miss a single ball of the 2nd Test with our England vs New Zealand live stream guide below. The series has been somewhat overshadowed by the emergence of offensive historic tweets posted by Ollie Robinson who made his debut in the opening Test but has since been suspended. With the controversy still brewing amid interventions from politicians and accusations leveled at other members of the team, Root has a battle on his hands to keep his side focused on the game ahead. One positive for Root coming into the game is that they'll be playing in front of a near capacity crowd at Egbaston, with the overwhelming majority of the expected 18,000 spectators set to be cheering on the home side. The tourists have been delivered a huge blow coming intot his final match, with s

6 things Apple stole from Android at WWDC— and one that Google should steal

Every year, Apple and Google trade ideas for their newest versions of iOS and Android, respectively. But this year, during Apple's WWDC 2021, it seems like Apple purloined more than a few ideas that Google's integrated into Android over the last few years. Millions of iOS users won't get their hands on iOS 15 and iPadOS 15 until later this year, so until then, we don't know until then how the new features will fare in the real world. For now, here's a tongue-in-cheek look at six features Apple, um, borrowed from Android with its latest software releases. Jump to: iPad widgets and app drawer Live Text Apple Maps AR navigation iOS notifications New Siri capabilities Apple Photos Bonus: What Google needs to steal iPad widgets and app drawer iPad OS 15 introduced two big new updates for the iPad home screen today: widgets and the App Library. If you think this sounds awfully familiar, there's a good reason for that. 2020's iOS 14 introduced both

The Galaxy Watch 4 is coming soon — here's everything you need to know

Samsung's Galaxy-brain play: leaving Tizen behind for Wear OS. The Samsung Galaxy Watch 3, one of the best Android smartwatches , may have only just launched in November 2020, but the latest rumors out of South Korea suggest the company may already be developing its replacement — with some big changes and upgrades in the works meant to topple Apple from its smartwatch throne. There's no confirmation whether Samsung's 2021 smartwatch will be named the "Galaxy Watch 4" or adopt a new name entirely. However, we know that this new watch will run the new version of Wear OS, which would have a big impact on app support and Android phone connectivity. It could also feature a newer-faster chipset, which could put it leagues ahead of the best Wear OS watches . Details are fairly scarce so far, but we've scrounged up every known leak about specs, design leaks, and pricing, along with everything else we know so far about the Samsung Galaxy Watch 4. Samsung's bes

Rock out to your favorite tunes with $100 off Marshall's smart speaker

Cover all the audio basics with just one speaker: listen to music, control your smart home, and stream from multiple devices! The Marshall Stanmore II Bluetooth speaker is down to $249.99 at Amazon . While this speaker normally sells for $400, today's deal is the lowest price of the year. We have seen it go this low a couple of times, but if you missed out on those previous deals now is your chance to save $150 on a great device. Previous deals included the Bluetooth-only version, but that speaker is actually $350 at the moment so you're saving even more and getting Alexa built in. This isn't exactly a part of Amazon's early Prime Day deals , but the savings do seem to be coming at a pretty convenient time. Amazon has already been launching Prime Day savings way ahead of the big event, so if Marshall's deal doesn't work for you check out the other big ways you can save right now. You'll get a great low latency connection with low power consumption and n