Skip to main content

Google Chrome now consumes more memory due to a new Spectre fix

Microsoft Surface Pro 4 Chrome
Image used with permission by copyright holder

Version 67 of Google’s Chrome browser for Windows, Mac, Linux, and Chrome OS now includes a new security feature called Site Isolation. This new component protects web surfers against Spectre-based attacks on the internet but for a price: 10 to 13 percent more system memory consumption.

Spectre — along with Meltdown — is a design flaw in modern processors that enable hackers to gain access to data stored in memory. This data is supposedly off limits, but the method processors use to predict the outcome of their current task leaves that data exposed. Hardware and software manufacturers have scrambled to fix these flaws since their initial reveal in January.

Recommended Videos

While the typical scenario sees a hacker physically accessing a computer and running custom code to read sensitive data stored in memory, an attack can happen across the internet as well. According to Google, browsers run potentially malicious JavaScript code in the background from multiple websites and in many cases within the same process. That means a website could steal data stored in memory stemming from other websites.

Although all major web browsers include “some mitigations” to prevent Spectre-based attacks, Google believes Site Isolation is the best approach. Prior to version 67, Chrome relied on a multi-process architecture that allowed each tab to have its own web page rendering process. The problem is that many websites use frames (aka iframes) to compile different web-based components together into a single page: Components that are used across multiple sites. The page may even display cross-site pop-ups too.

That said, all of this rendering resides within a single process. But if one of those components or pop-ups include malicious JavaScript that exploits the Spectre flaw, they could read data residing in the system memory that is stored by the other components of the page. Data may include passwords, cookies, credit card numbers, and so on.

Image used with permission by copyright holder

With Site Isolation, pages aren’t rendered in a single process. Instead, the website’s mainframe has its own render process while all other cross-site components have their own individual “out of process” rendering. This is why the browser’s memory consumption increased up to 13 percent.

According to Google, splitting a single page across multiple processes is a major change to how Chrome displays a single page.

“The Chrome Security team has been pursuing this for several years, independently of Spectre,” states Google’s Charlie Reis. “Site Isolation is a significant change to Chrome’s behavior under the hood, but it generally shouldn’t cause visible changes for most users or web developers.”

Although Site Isolation is baked into Chrome 67 for Windows, Mac, Linux and Chrome OS, only 99 percent of those installs will actually have the feature running in the background. The remaining one percent will stay inactive as Google monitors and improves performance.

Does that mean the team will trim off Chrome’s 10 to 13 percent added memory consumption? Time will tell, and given that Chrome already gobbles memory like a kid on Halloween, the extra Spectre-based consumption could be an unwanted setback for machines with low amounts of system memory.

Kevin Parrish
Former Digital Trends Contributor
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
Use Google Chrome on Mac? You need to update now
A MacBook with Google Chrome loaded.

Google has sent out a necessary update for the Chrome web browser for the Mac to address a major security hole that was discovered on March 23.

The bug, called CVE-2022-1096, was documented in the Common Vulnerabilities and Exposures (CVE) system by Google developer Prudhvi Kumar Bomman, after an anonymous security researcher discovered a hole in Chrome’s V8 JavaScript engine that left it vulnerable to exploits.

Read more
Microsoft Edge vs. Google Chrome: Performance, design, security, and more
Microsoft Edge browser on a computer screen.

Google Chrome remains the king of the web browsers, with around 60% share of the browser market as of December 2021. Microsoft's Edge browser, which uses the Chromium open-source engine, is in a lower spot around 12%, which is impressive with the browser having only been introduced in the last couple of years. Microsoft pushed the new Edge to all Windows 10 desktops, replacing the old Windows 10 version and giving Edge a built-in -- well -- edge. Edge is also the default browser for Windows 11.

Which browser should you use? The two share a lot of similarities, but some key differences make one the clear winner.
Design

Read more
This new Google Chrome feature may boost your search history
A MacBook with Google Chrome loaded.

Google is adding a new feature to its Chrome web browser that’s intended to help you find previously browsed topics and pick up where you left off. Called Journeys, it’s rolling out now for Chrome’s desktop version.

The feature essentially works like an extension of browsing history. When you type a word into the search bar or head to the Chrome History Journeys page in your browser, you will see a list of previously visited sites linked to that topic. Chrome will know how much you’ve interacted with any particular site, and those it considers the most relevant to you will go to the top of the pile.

Read more