Memory consumption increases to 2.4 GiB over a week (w/44 extensions enabled)

RESOLVED WORKSFORME

Status

()

Firefox
Untriaged
RESOLVED WORKSFORME
4 years ago
3 years ago

People

(Reporter: Mathnerd314, Unassigned)

Tracking

19 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [MemShrink:P3])

Attachments

(4 attachments)

(Reporter)

Description

4 years ago
Created attachment 733053 [details]
aboutmemory_censored

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130307122351

Steps to reproduce:

Opened some tabs, browsed normally, left it open for a week.


Actual results:

Memory increased to 2.4 GB or so.


Expected results:

Memory should have stayed constant at around .5-1 GB.
Whiteboard: [MemShrink]
(Reporter)

Comment 1

4 years ago
Created attachment 733055 [details]
about:support
At a glance, this part looks the most suspicious to me:

├────692,717,904 B (65.95%) -- layout
│    ├──489,972,528 B (46.65%) ── style-sets
│    ├──104,415,960 B (09.94%) ── frames

I'm not sure what "style sets" are, though.
(Reporter)

Comment 3

4 years ago
Created attachment 733056 [details]
about:support JSON
(Reporter)

Comment 4

4 years ago
Created attachment 733063 [details]
about:crashes
Style sets are CSS stuff.

More suspicious is the fact that there are more than 30
http://www-ig-opensocial.googleusercontent.com/gadgets/ifr?exp_rpc_js=1... windows, each of which contains 3 compartments.  I wonder if there's a leak there.

This is also interesting:

2,183 (100.0%) -- js-compartments
├──1,109 (50.80%) ── system
└──1,074 (49.20%) ── user

That's a lot of system compartments.  Oh, but you have 44 extensions enabled!  That's a lot.  621 of the system compartments have "bootstrap.js" somewhere in the name, so extensions explain that, I think.

But really, we need an about:memory diff to make sense of the increase.  Roll on bug 848560...
Depends on: 848560
Summary: Firefox uses too much memory → Memory consumption increases to 2.4 GiB over a week (w/44 extensions enabled)
Bug 848560 has landed.  Thanks for waiting.

Can you update to the latest Nightly and use the "Write reports to a file" button at the bottom of about:memory to take measurements before and after?  Thanks!
(Reporter)

Comment 7

4 years ago
Now running the nightly, I'll upload some dumps if/when the memory usage spikes.
Whiteboard: [MemShrink] → [MemShrink:P3]
(Reporter)

Comment 8

3 years ago
The memory usage has been reasonable for quite a while... closing.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.