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

Chromebooks

Lenovo C340 at Amazon



Source: androidcentral

Popular posts from this blog

The hidden cost of food delivery

Noah Lichtenstein Contributor Share on Twitter Noah Lichtenstein is the founder and managing partner of Crossover , a diversified private technology fund backed by institutional investors, technology execs and professional athletes and entertainers. More posts by this contributor What Studying Students Teaches Us About Great Apps I’ll admit it: When it comes to food, I’m lazy. There are dozens of great dining options within a few blocks of my home, yet I still end up ordering food through delivery apps four or five times per week. With the growing coronavirus pandemic closing restaurants and consumers self-isolating, it is likely we will see a spike in food delivery much like the 20% jump China reported during the peak of its crisis. With the food delivery sector rocketing toward a projected $365 billion by the end of the decade, I’m clearly not the only one turning to delivery apps even before the pandemic hit. Thanks to technology (and VC funding) we can get a ri

Cyber Monday Canada: Last-minute deals for everyone on your list

Best Cyber Monday Canada deals: Smart Home Audio Phones, Tablets & Accessories Wearables Laptops & PC Components Amazon products Gaming Televisions Cameras Lifestyle & Kitchen Toys & Kids Cyber Monday Canada is here, and retailers are rolling out the red carpet for customers who want to shop for everything from tech to kitchenware to games and everything in between. Unlike years past, Cyber Monday Canada deals look a bit different than normal. Instead of retailers trying to pack their stores with as many shoppers as possible, we're seeing tons of online deals that you can take advantage of from the comfort of your home. We've rounded up our favorites below, so feel free to browse through the best of what Canada Cyber Monday has to offer! This list is being updated with new Cyber Monday deals all the time, so check back often. Spotlight deals It's a Switch Nintendo Switch Fortnite Edition bundle $399.95 at Amazon It's a Switch.

Slack’s new integration deal with AWS could also be about tweaking Microsoft

Slack and Amazon announced a big integration late yesterday afternoon. As part of the deal, Slack will use Amazon Chime for its call feature, while reiterating its commitment to use AWS as its preferred cloud provider to run its infrastructure. At the same time, AWS has agreed to use Slack for internal communications. Make no mistake, this is a big deal as the SaaS communications tool increases its ties with AWS, but this agreement could also be about slighting Microsoft and its rival Teams product by making a deal with a cloud rival. In the past Slack CEO Stewart Butterfield has had choice words for Microsoft saying the Redmond technology giant sees his company as an “existential threat.” Whether that’s true or not — Teams is but one piece of a huge technology company — it’s impossible not to look at the deal in this context. Aligning more deeply with AWS sends a message to Microsoft, whose Azure infrastructure services compete with AWS. Butterfield didn’t say that of course

iPhone 13 Pro vs. iPhone 15 Pro Buyer's Guide: 50+ Differences Compared

The iPhone 15 Pro brings over 50 new features and improvements to Apple's high-end smartphones compared to the iPhone 13 Pro, which was released two years prior. This buyer's guide breaks down every major difference you should be aware of between the two generations and helps you to decide whether it's worth upgrading. The ‌iPhone 13‌ Pro debuted in 2021, introducing a brighter display with ProMotion technology for refresh rates up to 120Hz, the A15 Bionic chip, a telephoto camera with 3x optical zoom, Macro photography and photographic styles, Cinematic mode for recording videos with shallow depth of field, ProRes video recording, a 1TB storage option, and five hours of additional battery life. The ‌iPhone 13‌ Pro was discontinued upon the announcement of the iPhone 14 Pro in 2022, but it is still possible to get hold of it second-hand. Our guide helps to answer the question of how to decide which of these two iPhone models is best for you and serves as a way to c