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
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
Opera AI Tabs
Feel like your browser tabs are out of control? Opera's new AI tab-management tool will bring order to the chaos
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
Nintendo Switch 2 Joy-Con up-close from app store
Nintendo's new app gave us another look at the Switch 2, and there's something different with the Joy-Con
cheap Nintendo Switch game deals sales
Nintendo didn't anticipate that Mario Kart 8 Deluxe was 'going to be the juggernaut' for the Nintendo Switch when it was ported to the console, according to former employees
Three angles of the Apple MacBook Air 15-inch M4 laptop above a desk
Apple MacBook Air 15-inch (M4) review roundup – should you buy Apple's new lightweight laptop?
Witchbrook
Witchbrook, the life-sim I've been waiting years for, finally has a release window and it's sooner than you think
Amazon Echo Smart Speaker
Amazon is experimenting with renaming Echo speakers to Alexa speakers, and it's about time
Shigeru Miyamoto presents Nintendo Today app
Nintendo Today smartphone app is out now on iOS and Android devices – and here's what it does