Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
AWZ Screen Recorder
AWZ Screen Recorder ...zevish — 11:05
Website X5 Go 2024.1
Website X5 Go 2024.1...zevish — 09:32
Apple's rules to allow third-party app ...
Apple has announ...alison30 — 09:28
Intel: Microsoft AI PCs need a Copilot K...
Microsoft hopes th...harlan4096 — 08:55
Synchredible 8 Professional Edition v8.2...
          Synchredib...zevish — 08:54

[-]
Birthdays
Today's Birthdays
No birthdays today.
Upcoming Birthdays
No upcoming birthdays.

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

>