Closed Bug 1501448 Opened 8 years ago Closed 7 years ago

Memory consumption increases

Categories

(Core :: General, defect)

62 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ajsedwards2+firefox, Unassigned)

Details

(Whiteboard: [memshrink])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 Steps to reproduce: Quite simply use Firefox heavily over the course of about 3 days without closing it, with around a dozen tabs active, accessing complex sites like Jira and ThingWorx Composer. Original report here: https://support.mozilla.org/en-US/questions/1236011 Actual results: Memory usage creeps up and up until Firefox is consuming many GB of RAM, approaching all remaining free RAM on a computer with 16GB. Close Firefox and Task manager memory usage drops from ~14GB to 8.5GB (5.5GB released). Closing tabs does not free up the memory, it requires closing the browser so that all Firefox processes end. Open Firefox again, select each tab so the pages load. RAM settles at 11.1GB, so 2.6GB required to load the pages back to the state they were before closing Firefox. So before closing, Firefox was using more than 2x RAM than is necessary to render the pages. If I had more RAM I'd be able to let it continue gobbling over a number of days to see if there really is no limit. Expected results: The browser should not continue to consume RAM over a number of days. I should not have to keep closing the entire browser. This is the ONLY piece of software on my computer that needs closing and re-opening every 3 days.
Hello, Thank you for taking the time to report this issue. I'm setting a component in order to involve the development team in reviewing it.
Component: Untriaged → DOM
Product: Firefox → Core
Thanks for the update. I am a software developer also, more than happy to help in any way I can with more information (screen share, telephone etc) and testing any fixes.
Thanks for the report. Can you attach the output of about:memory when you're about to close Firefox? The output of about:support would also be useful.
Component: DOM → General
Flags: needinfo?(ajsedwards2+firefox)
Flags: needinfo?(ajsedwards2+firefox)
I have attached about:support and about:memory report. Before closing system commit was 13.3GB. After closing system commit 9.2GB. Re-open and click through each tab to load the pages 10.5GB.
Thanks! I'm not skilled at looking at about:memory reports (I did see there were no ghost windows which is nice :) but Eric is so let's ask him.
Flags: needinfo?(erahm)
Whiteboard: [memshrink]
Hi was something changed in this regard for release 63.0.1? Maybe too soon to tell but Firefox seems to not be consuming excessive RAM and committed memory is staying around 11.2GB over a couple of days of use, opening and closing tabs and various sites. The picture will become clear after a few more days!
6 days later with computer logged in 24/7, no Firefox 63.0.1 restarts have been required to keep RAM under control. RAM use still significantly less than 12GB with typical tab sites open. Earlier today, RAM use ramped to 14GB due to a hammering Firefox accessing thousands of image previews and videos listed in a directory on OneDrive, but after closing the OneDrive tab, RAM made its way back down to 11.something GB.
Thanks for reporting back! Due to the volume of changes in 63 it's hard to know what could have fixed things here. It might be more likely that a site leak was fixed. Either way, :)
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(erahm)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: