Forum Discussion
Introducing Sleeping Tabs Experiment: Improving Memory Usage in Microsoft Edge
Note: We are in the process of deploying this feature, so it may be a little while before you see it in your respective channel and build.
To improve memory and CPU utilization of the browser, we've developed a feature called sleeping tabs.
Early internal testing of devices with sleeping tabs has shown a median memory usage reduction of 26% for Microsoft Edge. Our internal testing has also shown that a normal background tab uses 29% more CPU for Microsoft Edge than a sleeping tab. These resource savings should result in excellent battery savings. Although individual device performance varies depending on configuration and usage, we expect the decrease in resource and battery usage to create a better browsing experience for users.
Median memory usage of Microsoft Edge based on performance data aggregated across ~13000 devices
Average CPU usage of Microsoft Edge based on performance data aggregated across ~13000 devices
Sleeping tabs builds upon the core of Chromium’s “freezing” technology. Freezing pauses a tab’s script timers to minimize resource usage. A sleeping tab resumes automatically when clicked, which is different than discarded tabs, which require the page to fully be reloaded.
We built upon the freezing technology to create sleeping tabs. This feature allows inactive background tabs to “go to sleep,” releasing system resources after a set amount of time. These resources include both memory and CPU and can be used for new or existing tabs or other applications running on your device.
By default, we’ve set tabs to go to sleep after two hours of inactivity. If two hours isn’t right for you, you can choose a different time interval in edge://settings/system. Tabs that are asleep will fade to let you know they’ve released resources. To resume a sleeping tab, click on it like a normal tab. The tab will un-fade and your content will be there immediately. You can also add sites you never want to sleep to a block list in Settings.
With this technology, it is possible that some sites may not work as expected after they go to sleep. We have built heuristics to detect these scenarios and prevent those tabs from sleeping to keep you in your flow. We are eager to get your feedback on sleeping tabs. If you experience a compat issue, please refresh the page and let us know through Microsoft Edge by pressing Shift+Alt+I on a Windows device or going to Settings and more … > Help and feedback > Send feedback.
Sleeping tabs will be coming soon to Canary and Dev Channels [87.0.649.0]. If you see the sleeping tabs feature while browsing, please join us here on the Microsoft Edge Insider forums or Twitter to discuss your experience, or send us your feedback through the browser! If you have any questions, see our FAQ or reach out to us. We hope you enjoy this exciting new feature and look forward to hearing from you!
- The Microsoft Edge Product Team
214 Replies
- Dennis5mileSilver Contributor
Ok, so after 27 days of using this feature I still find absolutely NO problems whatsoever. Tabs are still responding immediately upon clicking them without any delay that I can see. If you "had" to do anything maybe if possible, to free up more resources. Otherwise Great Job Team.
Dennis5mile- Eleanor_Huynh
Microsoft
Happy to hear this, Dennis5mile! Thanks for sharing and continuing to help us test this feature out!
- mkonininIron ContributorI like this feature I set timeout to 15 minutes. But I don't like grey-out tab names - it's harder to read. After awhile all my tabs become grey and unreadable so I was forced to set timeout to 1 hour. May be instead use some icon? Or make tab name background different color?
Also I don't understand why would I want to know which tabs are sleeping? Will I lose some notifications if tab is sleeping?- Eleanor_Huynh
Microsoft
mkoninin Thank you so much for sharing your experience and thoughts about the greyed out tabs. It is great feedback for our team. Looking forward to any future feedback you might have!
- thecockneymancCopper Contributor
Eleanor_Huynh Please please please make sure you release MDM/Intune and GPO/ADMX updates to go with this. The EUC community running this on WVD/Citrix/RDS will jump on this potentially great feature, and the means to deploy and manage it from the get go!
Thanks!
- raimond2Brass Contributor
Eleanor_HuynhEleanor, I'd like to make a suggestion which is related to why I keep multiple tabs open for days on end in the first place. Bookmarks don't save one's position within a website. Essentially why I keep tabs open is to bookmark not just the page but my location within the page. So, what I'd prefer even more than sleeping tabs is the ability to bookmark a page + one's position within the page. Then I could just bookmark pages into appropriately labelled tab groups instead of leaving them all open consuming resources unnecessarily. I wonder if anyone else here keeps tabs open because of they don't want to lose their position within the webpages?
- JillianK
Microsoft
Hi Raimond, thanks for your feedback! Have you had a chance to try out Collections? We've added a feature that we think might help you with this task.
When you select text on a page and drag-and-drop into Collections, we'll bring you back to that place on the page and highlight the saved text when you click the card again. If you get the chance to try this out, I'd love to know if this solution meets your needs, or if you have feedback on how it could be improved. Thank you for the suggestion!
- VissenCopper Contributor
Eleanor_Huynh Really cool feature, great work on that guys
- Rory GeogheganBrass Contributor
Eleanor_Huynh Love it! Makes so much sense to save on resources you're not using and put them to use somewhere else especially with the number of tabs I might have open any given workday!
So far had no problems at all! The page has come back up as soon as I've clicked on it. Did not notice a thing!
Keep up the magnificent work MS Edge!
- chall3ng3rCopper ContributorAwesome feature. Been using an extension for same, but with this built-in and implemented better will be more useful. Thanks.
- Joe LangFormer Employee
Eleanor_Huynh Great idea!
- Hans ten BergeBrass Contributor
Hi i do not see the settings for the sleep function in my edge://settings/system.
I only see|
Continue running background apps when Microsoft Edge is closedUse hardware acceleration when availableOpen your computer's proxy settingsHans
Hans ten Berge Hi, are you using Edge Dev or canary channels?
- htmlcssjsCopper Contributor
HotCakeX I'm using Stable with the Edge flag and I love it. It just needs to not do Tab Wake upon hover, using last icon for tab thumbnail option, and allow tab sleep button to shut down tabs that use lots of memory. It would also be nice if you could open tabs while they are in sleep mode and see the last state of the tab without changes, allowing native scrolling.
- YgorCortesIron ContributorIs there a way to force the tabs to be put to sleep? Some tabs aren't put to sleep even though they aren't doing anything important to me. I tried disabling the heuristics flag, but it didn't do anything.