Event pages feature to free up memory used by inactive extensions in Chrome

With the multi-process architecture model, Chrome sometimes scares you with the number of processes it runs and the memory it consumes, many installed extensions for Chrome also slow down Chrome’s performance and most of these extensions will be idle until the user interacts with them, but is running in memory eating in the background, something Google is considering reducing. Today Google added event pages feature for the Chrome extension system that unloads an event page if an extension goes idle and frees up its memory and those pages only load when they are needed.

Google eliminates high memory usage of extensions with event pages

Event pages are similar to background pages, “instead of running in the background all the time, an event page only runs when it is handling events. When an event page is idle, it is unloaded, freeing memory until the next time it is needed.”

To support this feature, the Chrome team developed three new APIs: Alarms API, New Events, declarative version of webRequestAPI. Event pages feature now available in Chrome dev. channel, soon this feature will be released in Beta and stable channels.

Related Posts

Leave a Reply

Your email address will not be published.