Firefox 105: number of out-of-memory crashes significantly reduced
#1
Information 
Quote:It is just two more weeks before Firefox 105 Stable will be released by Mozilla. The web browser comes with an interesting change that will reduce the number of out-of-memory crashes on Windows machines significantly.

[Image: firefox-windows-out-of-memory-crashes.png]

Revealed by Gabriele Svelto on Twitter, Firefox on Windows will soon run into fewer out-of-memory situations that result in crashes.

The linked bug report on Bugzilla, Mozilla's bug tracking website, offers insight on what Mozilla did to achieve this. Opened more than a year ago, work on it has completed in late August of 2022.
 
Quote:On Linux we have a way to instruct the OOM killer to reap the content processes before the main process when the memory is tight. While we don't use this yet it's something that's feasible. On Windows however there's no such mechanism because there's no overcommit support nor an OOM killer, and we'll be crashing processes on our own when memory gets tight.

The main idea behind the improvement is to delay the killing of the main Firefox process when the browser is running out of memory. With the patch in place, content processes will likely be killed to free up memory before the main process is touched. It is still possible that there is not enough memory that can be freed by killing content processes, but the chance that the main process is touched is reduced thanks to the improvement.

With the main process surviving more the out-of-memory situation, Firefox itself won't crash completely in those situations. A content process, which may be a website open in a browser tab, may be killed, but it is easy enough to reload it when it needs to be accessed again. Mozilla is offloading crashes to content processes whenever possible when the Windows system is running out of memory.

The number of out-of-memory crashes on Windows dropped significantly in Firefox Nightly after the patch was introduced. Content processes, on the other hand, crashes more, but that was to be expected.

Beta and Stable data will likely be similar, but it is too early to tell. Still, if Firefox 105 Stable sees a similar reduction as the Nightly version of Firefox, crashes on Windows that are caused by low memory situations will be reduced significantly.

Now You: when was the last time you experienced a browser crash?
...
Continue Reading
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
GFYI [Official] Revo Registry Cleaner P...
OPTION 2 Share feed...zevish — 06:51
NVIDIA’s new DLSS Transformer model requ...
NVIDIA DLSS 310.3....harlan4096 — 10:09
INTEL Arc Graphics 32.0.101.6913 driver
Highlights  Int...harlan4096 — 10:07
AppCheck Anti-Ransomware 3.1.42.3
Version 3.1.42.3 (...harlan4096 — 10:06
AdGuard Browser Extension 5.1.113 (MV3 s...
AdGuard Browser Ex...harlan4096 — 10:03

[-]
Birthdays
Today's Birthdays
avatar (42)uapedDow
avatar (46)suiscced
avatar (47)Angarpaf
avatar (40)clarissalo60
Upcoming Birthdays
avatar (46)dapedDow
avatar (48)TromPerl
avatar (45)RidgeDimb
avatar (36)ipumaqar
avatar (50)tanliorsPeri
avatar (42)lapedDow
avatar (48)rituabew
avatar (36)omyjul
avatar (40)papedDow
avatar (49)ArnoldFum
avatar (37)yfaza
avatar (48)Kevensi
avatar (47)ConradRoand
avatar (38)boineDon
avatar (50)spoofTum
avatar (49)WillieVot
avatar (39)Grompelbawn
avatar (40)vkseogaF
avatar (36)usogy
avatar (40)optsaZes
avatar (39)RaymondViata
avatar (39)ywixazok
avatar (37)ixoqe
avatar (55)Step 1
avatar (35)pa.OpenTran

[-]
Online Staff
There are no staff members currently online.

>