Open Bug 1946804 Opened 1 month ago Updated 1 month ago

RAM usage increase after hibernate

Categories

(Core :: Performance, defect)

Firefox 134
defect

Tracking

()

UNCONFIRMED

People

(Reporter: f.nazar, Unassigned, NeedInfo)

Details

Attachments

(1 file)

350.11 KB, application/x-gzip
Details
Attached file memory-report.json.gz

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0

Steps to reproduce:

Hibernation with multiple opened tabs.

Actual results:

With 100 tabs opened goes from 400 Mb, next hibernation 700 Mb, next 1.4 Gb, next 2 Gb and my computer is so slow, that I have to close the Firefox task through the Task Manager (Windows 10 notebook).

Expected results:

RAM usage shouldn't have increased.
Partial solution:

https://support.mozilla.org/en-US/kb/unload-inactive-tabs-save-system-memory-firefox

I checked with the Task Manager and Firefox memory went down by 200 Mb ( Ctrl+Alt+Del)

I think the problem is that hibernation somehow annuls the automatic unloading of inactive tabs.
This bug has previously been reported by many users without being resolved:
https://bugzilla.mozilla.org/show_bug.cgi?id=473704
https://bugzilla.mozilla.org/show_bug.cgi?id=568451
https://www.reddit.com/r/firefox/comments/1h0m4it/ram_usage_increase_after_hibernate/

This might be related to the problem (I experienced the same):
https://bugzilla.mozilla.org/show_bug.cgi?id=1553260
https://bugzilla.mozilla.org/show_bug.cgi?id=1794242
https://bugzilla.mozilla.org/show_bug.cgi?id=1864322

A way to resolve it fast is that the user chooses an option where Firefox:
a) just keeps the URL in memory and not the whole webpage under the tab
b) zero page cache
c) zero automatic reloading: reloading should only work when the user wants the page to reload!

The Bugbug bot thinks this bug should belong to the 'Core::Performance' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Performance
Product: Firefox → Core

This bug was moved into the Performance component.

:f.nazar, could you make sure the following information is on this bug?

  • For slowness or high CPU usage, capture a profile with http://profiler.firefox.com/, upload it and share the link here.
  • ✅ For memory usage issues, capture a memory dump from about:memory and attach it to this bug.
  • Troubleshooting information: Go to about:support, click "Copy raw data to clipboard", paste it into a file, save it, and attach the file here.

If the requested information is already in the bug, please confirm it is recent.

Thank you.

Flags: needinfo?(f.nazar)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: