In pursuit of reducing Chromeโs excessive system memory consumption, Google is planning to use a new method called โPartitionAlloc FastMalloc.โ This is a shift from Microsoftโs earlier SegmentHeap model, which was abandoned because of not getting the โcontrol over heap types.โ Use the native method will improve Chromeโs performance and security simultaneously.
Google to Ditch Microsoftโs Technique
Googleโs Chrome has long been accused of eating the system RAM in Windows PCs. While Google promised to address this issue, itโs been releasing all Chrome browser updates without solving this.
The latest version of Chrome v87 has performance improvements but no solution for memory consumption.
While this is increasing the communityโs aggression, Google announced to use its own method for solving this problem soon. Called โPartitionAlloc FastMalloc,โ Google engineers hope to lessen the memory usage of certain processes to under 10%. This happens by improving the caching and optimizing the RAM management.
Google has initially considered using Microsoftโs โSegmentHeapโ technique to address this issue, a modern heap manager that reduces the overall RAM usage of all apps.
Microsoft claimed that using this method has caused its Edge browser to use 27% less RAM, giving hopes for Google since Edge is based on Chromium, just as Chrome.
While Google initially agreed to use the โSegmentHeapโ in its Chrome, it abandoned the project since Microsoft couldnโt give the โcontrol over heap types.โ This stops Google from applying them to individual heaps while keeping the RAM intensive actives normal. Also, it has observed some โperformance regressionโ in some cases.
Thus, Google decided to use the PartitionAlloc FastMalloc, which improves the browserโs performance and security at the same time. In one commit, Google said it has already enabled this feature in Chrome Canary build and will release for standard versions by next year.