HomeWinBuzzer NewsOpera Browsers to Reduce Memory Usage With "Heap Compaction"

Opera Browsers to Reduce Memory Usage With “Heap Compaction”

The technology allows is reducing memory usage by several megabytes per tab when browsing popular websites.


Opera Browsers are set to receive major improvements with reduced memory consumption. The company has added heap compaction technology in the latest builds of Opera Beta. The clean-up phase feautre speeds up browsing and lowers memory use significantly.

Daniel Bratell, a member of the Opera team made the announcement and explained how heap compaction works.

“To put it simply, if you insert plates of different sizes haphazardly into a cupboard, it will be hard to use all the available space. If you stack them orderly, it will be more efficient, but it will also take more time to do so. And, since we put the plates (i.e., memory) in and remove them from the cupboard all the time, we unfortunately can't spend much time on making it look pretty.

The same thing happens with the memory management. To solve this, we have added a cleanup phase to the “plate” management inside Blink, which we call heap compaction. It reorders the memory to make use less RAM, make the future memory operations faster … and look pretty, too.”

How much memory can be spared?

The developers also conducted a research to discover how heap compaction translates into memory savings.

This involved visiting several popular websites, such as Wikipedia and NYTimes.com, as well as doing some occasional same site navigation and interactions with the content. After approximately 15 minutes, they sampled the total heap size for the compactable sub-heaps.

As a result, heap compaction decreased Blink heap size significantly. The memory used by went down from 6.8MB to 2.3MB, for from 9MB to 4MB, on .com from 5.7MB to 2.5MB, and Wikipedia from 4MB to 2.4MB. This will naturally translate into better general laptop performance.

Heap compaction was first unveiled in a beta version of Opera 39. The company also plans to upstream this technology into Blink project so that other Blink-based browsers can also take advantage of reduced memory consumption. Opera also states that their engineers have already partnered with their counterparts to reduce the memory use of the rendering engine Blink.

Shubham Sharma
Shubham Sharmahttp://www.winbuzzer.com
Shubham has been a blogger, vlogger and scribbler for years now and has already reviewed a plethora of smart gadgets and games. When he is not busy covering news about Microsoft or plotting the next video, you might find him navigating rapids in rivers or shooting pictures.

Recent News