As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact
Last Comment Bug 857806 - Memory consumption increases to 2.4 GiB over a week (w/44 extensions enabled)
: Memory consumption increases to 2.4 GiB over a week (w/44 extensions enabled)
Product: Firefox
Classification: Client Software
Component: Untriaged (show other bugs)
: 19 Branch
: x86_64 Linux
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
Depends on: 848560
  Show dependency treegraph
Reported: 2013-04-03 15:06 PDT by Allan Gardner (:Mathnerd314)
Modified: 2014-04-29 20:51 PDT (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

aboutmemory_censored (2.41 MB, text/plain)
2013-04-03 15:06 PDT, Allan Gardner (:Mathnerd314)
no flags Details
about:support (13.48 KB, text/plain)
2013-04-03 15:09 PDT, Allan Gardner (:Mathnerd314)
no flags Details
about:support JSON (14.96 KB, text/plain)
2013-04-03 15:10 PDT, Allan Gardner (:Mathnerd314)
no flags Details
about:crashes (2.91 KB, text/plain)
2013-04-03 15:20 PDT, Allan Gardner (:Mathnerd314)
no flags Details

Description User image Allan Gardner (:Mathnerd314) 2013-04-03 15:06:12 PDT
Created attachment 733053 [details]

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.
Comment 1 User image Allan Gardner (:Mathnerd314) 2013-04-03 15:09:31 PDT
Created attachment 733055 [details]
Comment 2 User image Andrew McCreight [:mccr8] 2013-04-03 15:10:13 PDT
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.
Comment 3 User image Allan Gardner (:Mathnerd314) 2013-04-03 15:10:15 PDT
Created attachment 733056 [details]
about:support JSON
Comment 4 User image Allan Gardner (:Mathnerd314) 2013-04-03 15:20:19 PDT
Created attachment 733063 [details]
Comment 5 User image Nicholas Nethercote [:njn] 2013-04-03 17:09:36 PDT
Style sets are CSS stuff.

More suspicious is the fact that there are more than 30 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...
Comment 6 User image Nicholas Nethercote [:njn] 2013-04-09 18:57:34 PDT
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!
Comment 7 User image Allan Gardner (:Mathnerd314) 2013-04-13 09:23:33 PDT
Now running the nightly, I'll upload some dumps if/when the memory usage spikes.
Comment 8 User image Allan Gardner (:Mathnerd314) 2014-04-29 20:51:16 PDT
The memory usage has been reasonable for quite a while... closing.

Note You need to log in before you can comment on or make changes to this bug.