Closed Bug 1682442 Opened 3 years ago Closed 3 years ago

Improve tab unloading criteria on low-memory

Categories

(Firefox :: Tabbed Browser, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
88 Branch
Fission Milestone M7
Tracking Status
firefox88 --- fixed

People

(Reporter: enndeakin, Assigned: enndeakin)

References

Details

(Whiteboard: fission-tab-unloading)

Attachments

(1 file)

Improve it by weighting tabs by more criteria that better ensure tabs that close on low memory or low process-count are selected based on those less likely to affect the user.

Assignee: nobody → enndeakin
Severity: -- → N/A
Status: NEW → ASSIGNED
Fission Milestone: --- → M7
Priority: -- → P2
Whiteboard: fission-tab-unloading

The patch above now prioritizes unloading tabs based on whether the tab is selected, pinned, playing sound, using picture-in-picture or using webrtc. It modifies the priority of a tab to close based on how many processes might be stopped if the tab is closed, or a guess at how much memory would be freed up if the tab was closed.

Attachment #9193166 - Attachment description: Bug 1682442, prioritize tab unloader based on how many processes are used by a tab, how much memory is used by the tab, and whether sound/webrtc/picture in picture is in use for a tab → Bug 1682442, prioritize tab unloader based on how many processes are used by a tab, how much memory is used by the tab, and whether sound/webrtc/picture in picture is in use for a tab, r=mconley
Attachment #9193166 - Attachment description: Bug 1682442, prioritize tab unloader based on how many processes are used by a tab, how much memory is used by the tab, and whether sound/webrtc/picture in picture is in use for a tab, r=mconley → Bug 1682442, prioritize tab unloader based on how many processes are used by a tab, how much memory is used by the tab, and whether sound/webrtc/picture in picture is in use for a tab, r=gsvelto
Pushed by neil@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3874d456d118
prioritize tab unloader based on how many processes are used by a tab, how much memory is used by the tab, and whether sound/webrtc/picture in picture is in use for a tab, r=gsvelto
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Regressions: 1708822
Regressions: 1709113
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: