Closed
Bug 801539
Opened 13 years ago
Closed 11 years ago
Firefox memory leak on Facebook picture theatre
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: kami911, Unassigned)
References
()
Details
(Whiteboard: [MemShrink:P2])
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0
Build ID: 20121010234852
Steps to reproduce:
Opened https://www.facebook.com/kalman.szalai/photos?ref=ts browse photos the leave it open for a weekend.
Actual results:
│ ├──1,019,148,000 B (41.16%) -- top(https://www.facebook.com/, id=19)/active
│ │ ├──1,018,324,608 B (41.13%) -- window(https://www.facebook.com/)
│ │ │ ├────911,845,160 B (36.83%) -- js/compartment(https://www.facebook.com/kalman.szalai/photos?ref=ts)
│ │ │ │ ├──702,115,840 B (28.36%) -- gc-heap
│ │ │ │ │ ├──393,004,952 B (15.87%) ── unused-gc-things
│ │ │ │ │ ├──245,868,640 B (09.93%) -- objects
│ │ │ │ │ │ ├──161,883,424 B (06.54%) ── non-function
│ │ │ │ │ │ └───83,985,216 B (03.39%) ── function
│ │ │ │ │ ├───40,897,264 B (01.65%) -- shapes
│ │ │ │ │ │ ├──31,726,080 B (01.28%) ── dict
│ │ │ │ │ │ ├───7,131,544 B (00.29%) ── base
│ │ │ │ │ │ └───2,039,640 B (00.08%) ── tree
│ │ │ │ │ ├───10,877,952 B (00.44%) ── arena-admin
│ │ │ │ │ ├────9,664,896 B (00.39%) ── strings
│ │ │ │ │ ├────1,286,424 B (00.05%) ── scripts
│ │ │ │ │ └──────515,712 B (00.02%) ── type-objects
│ │ │ │ ├──134,661,584 B (05.44%) -- objects
│ │ │ │ │ ├──113,908,112 B (04.60%) ── elements
│ │ │ │ │ └───20,753,472 B (00.84%) ── slots
│ │ │ │ ├───38,446,664 B (01.55%) ── string-chars
│ │ │ │ ├───31,432,000 B (01.27%) -- shapes-extra
│ │ │ │ │ ├──25,683,680 B (01.04%) ── dict-tables
│ │ │ │ │ ├───4,404,128 B (00.18%) ── tree-tables
│ │ │ │ │ ├───1,081,472 B (00.04%) ── compartment-tables
│ │ │ │ │ └─────262,720 B (00.01%) ── tree-shape-kids
│ │ │ │ ├────3,040,128 B (00.12%) ── script-data
│ │ │ │ ├────1,429,824 B (00.06%) -- type-inference
│ │ │ │ │ ├────788,896 B (00.03%) ── script-main
│ │ │ │ │ ├────499,280 B (00.02%) ── object-main
│ │ │ │ │ └────141,648 B (00.01%) ── tables
│ │ │ │ ├──────631,520 B (00.03%) ── analysis-temporary
│ │ │ │ ├───────45,312 B (00.00%) ── mjit-data
│ │ │ │ ├───────40,960 B (00.00%) ── cross-compartment-wrappers
│ │ │ │ └────────1,328 B (00.00%) ── other-sundries
│ │ │ ├─────94,676,248 B (03.82%) -- dom
│ │ │ │ ├──89,529,680 B (03.62%) ── orphan-nodes
│ │ │ │ ├───3,705,736 B (00.15%) ── element-nodes
│ │ │ │ ├─────916,720 B (00.04%) ── other [2]
│ │ │ │ └─────524,112 B (00.02%) ── text-nodes
│ │ │ ├──────5,313,024 B (00.21%) -- layout
│ │ │ │ ├──2,030,672 B (00.08%) ── style-sets
│ │ │ │ ├──1,001,864 B (00.04%) -- frames
│ │ │ │ │ ├────339,264 B (00.01%) ── nsBlockFrame
│ │ │ │ │ ├────177,720 B (00.01%) ── nsInlineFrame
│ │ │ │ │ ├────145,488 B (00.01%) ── nsTextFrame
│ │ │ │ │ ├─────74,592 B (00.00%) ── nsHTMLScrollFrame
│ │ │ │ │ ├─────47,080 B (00.00%) ── nsPlaceholderFrame
│ │ │ │ │ ├─────34,440 B (00.00%) ── nsImageFrame
│ │ │ │ │ ├─────31,040 B (00.00%) ── sundries
│ │ │ │ │ ├─────26,880 B (00.00%) ── nsTableFrame
│ │ │ │ │ ├─────19,080 B (00.00%) ── nsContinuingTextFrame
│ │ │ │ │ ├─────17,176 B (00.00%) ── nsTableRowFrame
│ │ │ │ │ ├─────16,560 B (00.00%) ── nsTableColFrame
│ │ │ │ │ ├─────15,840 B (00.00%) ── nsTableCellFrame
│ │ │ │ │ ├─────15,232 B (00.00%) ── nsTableOuterFrame
│ │ │ │ │ ├─────14,336 B (00.00%) ── nsTableColGroupFrame
│ │ │ │ │ ├─────14,336 B (00.00%) ── nsTableRowGroupFrame
│ │ │ │ │ └─────12,800 B (00.00%) ── nsBulletFrame
│ │ │ │ ├────957,288 B (00.04%) ── pres-shell
│ │ │ │ ├────534,496 B (00.02%) ── pres-contexts
│ │ │ │ ├────465,600 B (00.02%) ── style-contexts
│ │ │ │ ├────197,824 B (00.01%) ── line-boxes
│ │ │ │ └────125,280 B (00.01%) ── rule-nodes
│ │ │ ├──────4,914,176 B (00.20%) ── style-sheets
│ │ │ └──────1,576,000 B (00.06%) ── property-tables
Expected results:
No leak no cry ;o)
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Comment 1•13 years ago
|
||
This sounds like a site leak.
Component: JavaScript Engine → English US
Product: Core → Tech Evangelism
Whiteboard: [MemShrink] → [MemShrink:P2]
Version: 16 Branch → unspecified
Comment 2•13 years ago
|
||
I talked to Kev, and via his contacts he got this forwarded on to the relevant engineering group at Facebook.
* Cruel slowdown
* Getting about:memory nearly impossible
* Closing Facebook tab recovered the Firefox from nearly frozen state less than a minute
* Not all memory reclaimed after closing Facebook tab (see the end of the attached memory list)
This time I left my FF for four day period on FB main page, and I got:
│ ├──2,874,600,672 B (63.88%) -- top(https://www.facebook.com/, id=17)/active
Comment 5•13 years ago
|
||
What addons do you have? Do you see problems on any other sites?
Comment 6•13 years ago
|
||
I've occasionally had my browser slow down quite a bit from leaving Facebook open for a long time (see bug 778599), but I don't think I've ever experienced high memory usage.
If you are experiencing slowdowns, you could try using the profiler addon:
https://developer.mozilla.org/en/Performance/Profiling_with_the_Built-in_Profiler
More recent versions will produce more information, but it looks like it should even work with 16 now.
My addons are:
AdBan 2.3.1 trueadban@ad-ban.appspot.com
Global Menu Bar integration 3.5.4 trueglobalmenu@ubuntu.com
Ubuntu Firefox Modifications 2.1.1 trueubufox@ubuntu.com
I have no problem with other sites. I am using lots of tabs (~100).
>
> If you are experiencing slowdowns, you could try using the profiler addon:
> https://developer.mozilla.org/en/Performance/Profiling_with_the_Built-
> in_Profiler
Will it work on Linux? I cant't install it. Also I installed the latest nightly, I will continue the work on that version.
Comment 10•13 years ago
|
||
Yes, I think it works on Linux. Come to think of it, I think you actually do need to run Nightly for it to work, because of compiler options. The addon is here: https://addons.mozilla.org/en-us/firefox/addon/gecko-profiler/
| Reporter | ||
Comment 11•13 years ago
|
||
Running Nightly with lots of tab for more than two days also caused such leak. This time no picture theatre enabled.
| Reporter | ||
Comment 12•13 years ago
|
||
Comment 13•11 years ago
|
||
This specific page has expired.
https://www.facebook.com/kalman.szalai/photos?ref=ts
"お探しのページは、メンテナンス等の理由で一時的に利用できなくなっているか、リンクの期限が切れているか、閲覧する権限がないため、表示できません"
I will close.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Component: English US → Desktop
Resolution: --- → INVALID
| Assignee | ||
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
You need to log in
before you can comment on or make changes to this bug.
Description
•