Firefox is gaining a neat new trick to reduce memory-related crashes

Firefox
(Image credit: Mozilla)

The stability of any software is important, but given the amount of time we now need to spend online for both work and pleasure, a stable web browsing experience is essential. This is something that Mozilla is aiming to improve in future versions of Firefox.

Tabbed browsing has proved to be both a blessing and a curse. While it makes it easier to have several sites open at once, the temptation is to have a lot of sites open in tabs, leading to high memory usage and browser crashes. Mozilla has come up with a solution.

In the latest Nightly builds of Firefox, there is a new automated tab unloading feature that takes care of removing tabs from memory when resources are running low. The browser uses various metrics to build up a score for all open tabs, and when a system starts to run out of memory, the tab with the highest score is unloaded to reduce the risk of crashes.

When a tab is unloaded, it is not closed, so there is no danger of losing access to a site you need. Rather, it is placed into a suspended mode and removed from memory when inactive; as soon as the tab is clicked, it is reloaded into memory, and another is unloaded if necessary.

Memory boost

As of Firefox 93, the browser.tabs.unloadOnLowMemory setting has been enabled to activate the feature. Mozilla says that the feature "automatically unloads tabs to prevent the application from crashing due to insufficient memory when the system's available memory is low". 

The company explains: "the next tab to be unloaded is chosen based on multiple attributes", and it is possible to see which tabs are due for unloading by visiting about:unloads.

Mozilla says that anyone running a system with 8GB or less of RAM will feel the most benefit. Anyone who wants to retain manual control of their tabs and memory usage can set the option to False rather than True and the feature will be disabled.


Analysis: a long time coming

Tab unloading is something that Mozilla has been working on – or at least thinking about – for a very long time now. There was evidence that work was underway on the feature a full decade ago, and it’s hard to imagine quite why it has taken so log to come to fruition, especially considering the importance that people place on memory usages and browser stability.

In the absence of an official option, a slew of extensions surge to fill. Take a browse through the selection of add-ons for Firefox and you'll find a number of tools for unloading tabs when they are not being used. The likes of Suspend Background Tabs and Dormancy have earned themselves a strong following, but it might not be long before extensions like this are rendered redundant.

Via Ghacks

Sofia Elizabella Wyciślik-Wilson
Freelance writer

Sofia is a tech journalist who's been writing about software, hardware and the web for nearly 25 years – but still looks as youthful as ever! After years writing for magazines, her life moved online and remains fueled by technology, music and nature.

Having written for websites and magazines since 2000, producing a wide range of reviews, guides, tutorials, brochures, newsletters and more, she continues to write for diverse audiences, from computing newbies to advanced users and business clients. Always willing to try something new, she loves sharing new discoveries with others.

Sofia lives and breathes Windows, Android, iOS, macOS and just about anything with a power button, but her particular areas of interest include security, tweaking and privacy. Her other loves include walking, music, her two Malamutes and, of course, her wife and daughter.

You can find her on Twitter and Mastodon.

Read more
opera air interface
I’ve tried the new Opera Air browser – here are 3 features that have already convinced me to ditch Chrome
The Microsoft Edge logo on a black background displayed on a laptop screen.
Microsoft just gave Edge a great new feature to ensure the browser doesn’t slow down the PC, and it’s tempting me to switch from Google Chrome
Chrome icon on Android
Google plans on a handy fix for all those duplicate Chrome tabs, but it's only for Android
Google Chrome with Christmas theme in Windows 11
I've used Edge, Firefox, and Opera, and yet after ten years in tech journalism, I still come back to Chrome
Woman using credit card whilst sitting at a desk with a laptop and mobile phone in view
Best web browser of 2025
Browser
The future of mobile browsers: time for a new model?
Latest in Browsers
Woman using a Windows computer with Microsoft Edge
Don’t panic – Microsoft’s Edge browser isn’t about to subject you to a flood of unblocked adverts (not yet, anyway)
Google Chrome browser icon
A new split-screen feature is coming to Google Chrome, and it's surprisingly powerful
The Microsoft Edge logo on a black background displayed on a laptop screen.
Microsoft just gave Edge a great new feature to ensure the browser doesn’t slow down the PC, and it’s tempting me to switch from Google Chrome
Google Chrome with Christmas theme in Windows 11
I've used Edge, Firefox, and Opera, and yet after ten years in tech journalism, I still come back to Chrome
Woman using a Windows computer with Microsoft Edge
Microsoft gets rid of ‘Edge uninstall’ advice page after facing criticism over it having nothing to do with removing the app, and just promoting the browser instead
Microsoft Edge
Sorry, you're not getting Microsoft Edge off of your PC, at least according to its new 'uninstall' document
Latest in News
Google Gemini Flash 2.0 Images
I tried Gemini's new AI image generation tool - here are 5 ways to get the best art from Google's Flash 2.0
An image of the Samsung Galaxy S25 Ultra from a hands-on event
Samsung Galaxy S26 Ultra could resurrect an intriguing camera feature
Eurocom Raptor X18
At $15,000, this massive 256GB RAM laptop makes Apple's MacBook Pro look affordable, tiny and very, very slow
Cristin Milioti in Black Mirror season 7
Netflix launches trailer for Black Mirror season 7, giving us a look at its first-ever sequel episode and an unexpected returning character
A graphic of the PC Gaming Show
Get ready for a bounty of PC games on June 8, as the PC Gaming show is back
A close up of The Daily podcast from Pocket Casts' web page
‘Podcasting shouldn’t be locked behind walled gardens’: Pocket Casts slams Spotify and makes its web player free to all