Windows 10: Chrome And Edge Slash RAM Use Thanks To This Microsoft Backend Change

Google's Chrome browser has a reputation for being a memory hog. But thanks to changes in Windows 10 version 2004, the May 2020 Update, both Chrome and Microsoft's Chromium-based Edge browser will use a lot less memory. 

Microsoft has announced major memory-use reductions in its Chromium-based Edge browser on Windows 10 2004 that appear to come from its recently announced Project Reunion, a new API that attempts to unify Win32 and the Universal Windows Platform (UWP) apps. 

"Early internal testing results of devices on the May 2020 Update are showing a memory-use reduction of up to 27% when browsing with Microsoft Edge," said Kim Denny, a principal PM manager for Microsoft Edge, in a blogpost.  

Memory-use reduction depends on each device, its configuration and usage, but whatever the exact reduction, lower memory use should lead to a better experience for Edge users on Windows 10 2004, argues Denny.   

The new Microsoft Edge shares the same underlying technology as Google Chrome courtesy of Google's open-source Chromium project, which Microsoft now contributes to. Microsoft earlier this month began pushing the new Microsoft Edge to Windows 10 users via Windows Update.  

But the improvements to memory use coming to Edge and Chrome derive from Microsoft expanding the availability of Windows segment heap memory to Win32 applications

And that expanded availability, as spotted by Ghacks' Martin Brinkmann, is a result of Microsoft's Project Reunion effort, announced at Build 2020, which aims to close the gap between the classic Win32 app and modern Universal Windows Platform (UWP). 

Microsoft didn't have success in getting developers of Windows applications to adopt UWP. While legacy Edge was a UWP app, Google never made Chrome a UWP, sticking with Win32. 

As Microsoft clarified this week, Project Reunion rolls up the Win32 API with the UWP API and Brinkmann notes that the segment heap API was one of the APIs that was previously limited to UWP applications. Under Project Reunion, it's become available to all developers of Win32 apps. 

That should allow other Win32 .exe applications to reduce memory use too, including Mozilla Firefox and every developer that builds Win32 applications.  

Google programmer and Chromium member, Bruce Dawson, clarified that memory-use reductions are likely to be greatest on Windows 10 PCs with CPUs featuring more cores, but they still could save hundreds of megabytes (MB) in the browser.

"Experiments with per-machine opting-in to the segment heap for chrome.exe suggests that this could save hundreds of MB in the browser and Network Service utility processes, among others, on some machines. Actual results will vary widely, with the greatest savings coming on many-core machines," wrote Dawson in a patch for Chromium.  

"Adding a SegmentHeap entry to the chrome.exe manifest will tell recent-enough versions of Windows (20-04 and beyond) to opt chrome.exe into using the segment heap instead of the legacy heap," Dawson explained. 

RECENT NEWS

Reassessing AI Investments: What The Correction In US Megacap Tech Stocks Signals

The recent correction in US megacap tech stocks, including giants like Nvidia, Tesla, Meta, and Alphabet, has sent rippl... Read more

AI Hype Meets Reality: Assessing The Impact Of Stock Declines On Future Tech Investments

Recent declines in the stock prices of major tech companies such as Nvidia, Tesla, Meta, and Alphabet have highlighted a... Read more

Technology Sector Fuels U.S. Economic Growth In Q2

The technology sector played a pivotal role in accelerating America's economic growth in the second quarter of 2024.The ... Read more

Tech Start-Ups Advised To Guard Against Foreign Investment Risks

The US National Counterintelligence and Security Center (NCSC) has advised American tech start-ups to be wary of foreign... Read more

Global IT Outage Threatens To Cost Insurers Billions

Largest disruption since 2017’s NotPetya malware attack highlights vulnerabilities.A recent global IT outage has cause... Read more

Global IT Outage Disrupts Airlines, Financial Services, And Media Groups

On Friday morning, a major IT outage caused widespread disruption across various sectors, including airlines, financial ... Read more