Open Bug 1450993 Opened 5 years ago Updated 2 months ago

[meta] Make low-memory detection work properly on Windows


(Core :: Memory Allocator, enhancement)

Not set




(Reporter: gsvelto, Assigned: toshi)


(Depends on 1 open bug)


(Keywords: meta, Whiteboard: [MemShrink:meta])

The AvailableMemoryTracker [1] is supposed to detect low-memory situations on Windows and send memory pressure events to let Firefox recover from them instead of crashing. In practice it almost never triggers, and when it does it can do more harm than good. Since it has multiple flaws I'll file specific bugs for each one and tie them to this bug for tracking.

This is rather urgent since we had a significant spike in OOM crash rate starting with Firefox 58 (see a comparison of OOM|Small crashes between 57.0.4 and 58.0.2 in [2]).

Depends on: 1308118
Depends on: 1451002
Depends on: 1451005
Depends on: 1451013
This should probable be [MemShrink:meta] but let's wait for the next triage first.
Whiteboard: [MemShrink]
Whiteboard: [MemShrink] → [MemShrink:meta]
Depends on: 1455896
Depends on: 1459212
Depends on: 1464773
Depends on: 1468207
Depends on: 1586236

gcp said Toshihito will work on the low memory detection for Windows so leaving a NI here.

Component: General → Memory Allocator
Flags: needinfo?(tkikuchi)
Assignee: nobody → tkikuchi
Flags: needinfo?(tkikuchi)
Depends on: 1711610
Depends on: 1725259

Sorry, there was a problem with the detection of inactive users. I'm reverting the change.

Assignee: nobody → tokikuc
You need to log in before you can comment on or make changes to this bug.