Bug#665714: iceweasel: consumes vast amount of RAM and swap when gcc 4.7 installed

Arthur Marsh arthur.marsh at internode.on.net
Mon Mar 26 12:08:12 UTC 2012



Mike Hommey wrote, on 26/03/12 02:30:
> On Mon, Mar 26, 2012 at 12:21:03AM +1030, Arthur Marsh wrote:
>> Package: iceweasel
>> Version: 11.0-3
>> Followup-For: Bug #665714
>>
>> I downgrade libgcc1 and still ran into the problem:
>>
>> 26124 amarsh04  20   0 1828m 1.2g  36m R 146.4 15.3  65:00.73 firefox-bin
>>
>> i.e. 146.4 percent CPU use on a 4-core machine.
>>
>> Disabling javascript for twitter.com seemed to reduce the problem.
>
> Can you copy/paste the content of about:memory?
>
> Mike
>

OK, narrowing things down, the problematic site is http://anisama.tv 
with noscript set to allow anisama.tv, twitter.com and twimg.com

The add-on rikaichan was enabled but was not being used to look up 
Japanese text that the page was displaying.

To get a relatively clean load, I did a kill -HUP on the iceweasel 
process, then when it prompted to restore tabs, I opened a new tab and 
opened the site http://anisama.tv then let it run until the icewaasel 
process had consumed 1 minute of CPU time. Memory use increased while 
the site anisama.tv was open. If needed I could leave it running for 
longer and post another about:memory

During the course of waking ours in Japan the site anisama.tv seems to 
display many tweets but even so it shouldn't be consuming several 
gigabytes per day.

Thanks for your help with this.

Main Process

Explicit Allocations
108.83 MB (100.0%) -- explicit
├───58.26 MB (53.53%) -- js
│   ├──32.21 MB (29.60%) -- compartment([System Principal], 0x7f31d3307000)
│   │  ├──18.71 MB (17.19%) -- gc-heap
│   │  │  ├───6.47 MB (05.94%) -- objects
│   │  │  │   ├──3.88 MB (03.57%) -- non-function
│   │  │  │   └──2.59 MB (02.38%) -- function
│   │  │  ├───4.76 MB (04.38%) -- shapes
│   │  │  │   ├──2.04 MB (01.87%) -- tree
│   │  │  │   ├──1.98 MB (01.82%) -- dict
│   │  │  │   └──0.75 MB (00.69%) -- base
│   │  │  ├───2.87 MB (02.64%) -- arena
│   │  │  │   ├──2.57 MB (02.36%) -- unused
│   │  │  │   └──0.30 MB (00.28%) -- (2 omitted)
│   │  │  ├───2.61 MB (02.40%) -- strings
│   │  │  ├───1.91 MB (01.75%) -- scripts
│   │  │  └───0.09 MB (00.08%) -- (2 omitted)
│   │  ├───3.23 MB (02.97%) -- string-chars
│   │  ├───2.96 MB (02.72%) -- shapes-extra
│   │  │   ├──0.97 MB (00.89%) -- tree-tables
│   │  │   ├──0.94 MB (00.86%) -- compartment-tables
│   │  │   ├──0.75 MB (00.69%) -- dict-tables
│   │  │   └──0.31 MB (00.29%) -- (1 omitted)
│   │  ├───2.88 MB (02.64%) -- script-data
│   │  ├───2.26 MB (02.08%) -- object-slots
│   │  ├───1.75 MB (01.61%) -- analysis-temporary
│   │  └───0.42 MB (00.39%) -- (3 omitted)
│   ├───7.54 MB (06.93%) -- gc-heap-chunk-dirty-unused
│   ├───6.94 MB (06.38%) -- runtime
│   │   ├──4.60 MB (04.23%) -- threads
│   │   │  ├──4.00 MB (03.68%) -- stack-committed
│   │   │  └──0.60 MB (00.55%) -- (3 omitted)
│   │   ├──2.00 MB (01.84%) -- atoms-table
│   │   └──0.34 MB (00.31%) -- (2 omitted)
│   ├───5.34 MB (04.91%) -- compartment(atoms)
│   │   ├──3.58 MB (03.29%) -- gc-heap
│   │   │  ├──3.52 MB (03.24%) -- strings
│   │   │  └──0.05 MB (00.05%) -- (1 omitted)
│   │   ├──1.76 MB (01.62%) -- string-chars
│   │   └──0.00 MB (00.00%) -- (1 omitted)
│   ├───3.05 MB (02.80%) -- compartment(http://anisama.tv/)
│   │   ├──1.84 MB (01.69%) -- gc-heap
│   │   │  ├──1.02 MB (00.94%) -- (6 omitted)
│   │   │  └──0.83 MB (00.76%) -- arena
│   │   │     ├──0.79 MB (00.73%) -- unused [3]
│   │   │     └──0.03 MB (00.03%) -- (2 omitted)
│   │   └──1.20 MB (01.11%) -- (7 omitted)
│   ├───1.32 MB (01.21%) -- xpconnect
│   ├───0.99 MB (00.91%) -- (7 omitted)
│   └───0.87 MB (00.80%) -- 
compartment(http://platform.twitter.com/widgets/tweet_button.1332442903.html#_=1332762510883&count=horizontal&hashtags=anisama&id=twitter-widget-0&lang=ja&original_referer=http%3A%2F%2Fanisama.tv%2F&size=m&text=Animelo%20Summer%20Live%202012%20-INFINITY%E2%88%9E-&url=http%3A%2F%2Fanisama.tv%2F2012%2F)
│       └──0.87 MB (00.80%) -- (8 omitted)
├───24.07 MB (22.12%) -- heap-unclassified
├───13.25 MB (12.18%) -- storage
│   ├──12.17 MB (11.18%) -- sqlite
│   │  ├───5.51 MB (05.06%) -- other
│   │  ├───5.28 MB (04.85%) -- places.sqlite
│   │  │   ├──5.05 MB (04.64%) -- cache-used [3]
│   │  │   └──0.23 MB (00.21%) -- (2 omitted)
│   │  └───1.38 MB (01.27%) -- (9 omitted)
│   └───1.09 MB (01.00%) -- prefixset
│       └──1.09 MB (01.00%) -- all
├────4.71 MB (04.33%) -- layout
│    ├──2.05 MB (01.88%) -- shell(http://anisama.tv/)
│    │  ├──1.15 MB (01.06%) -- arenas
│    │  ├──0.88 MB (00.81%) -- styledata
│    │  └──0.01 MB (00.01%) -- (1 omitted)
│    ├──1.04 MB (00.95%) -- shell(chrome://browser/content/browser.xul)
│    │  ├──0.75 MB (00.69%) -- arenas
│    │  └──0.29 MB (00.27%) -- (2 omitted)
│    ├──0.93 MB (00.86%) -- 
shell(http://platform.twitter.com/widgets/tweet_button.1332442903.html#_=1332762510883&count=horizontal&hashtags=anisama&id=twitter-widget-0&lang=ja&original_referer=http%3A%2F%2Fanisama.tv%2F&size=m&text=Animelo%20Summer%20Live%202012%20-INFINITY%E2%88%9E-&url=http%3A%2F%2Fanisama.tv%2F2012%2F)
│    │  ├──0.87 MB (00.80%) -- styledata
│    │  └──0.07 MB (00.06%) -- (1 omitted)
│    └──0.69 MB (00.64%) -- (4 omitted)
├────2.24 MB (02.06%) -- network-memory-cache
├────2.04 MB (01.88%) -- images
│    ├──2.00 MB (01.84%) -- content
│    │  ├──2.00 MB (01.84%) -- used
│    │  │  ├──2.00 MB (01.84%) -- raw
│    │  │  └──0.00 MB (00.00%) -- (2 omitted)
│    │  └──0.00 MB (00.00%) -- (1 omitted)
│    └──0.04 MB (00.03%) -- (1 omitted)
├────1.92 MB (01.76%) -- startup-cache
│    ├──1.92 MB (01.76%) -- mapping
│    └──0.00 MB (00.00%) -- (1 omitted)
├────1.21 MB (01.11%) -- xpti-working-set
├────0.98 MB (00.90%) -- dom
│    └──0.98 MB (00.90%) -- window-objects
│       ├──0.98 MB (00.90%) -- active
│       │  ├──0.59 MB (00.54%) -- top=15 (inner=19)
│       │  │  └──0.59 MB (00.54%) -- (4 omitted)
│       │  └──0.39 MB (00.36%) -- (5 omitted)
│       └──0.00 MB (00.00%) -- (1 omitted)
└────0.14 MB (00.13%) -- (4 omitted)

Resident Set Size (RSS) Breakdown

Proportional Set Size (PSS) Breakdown

Virtual Size Breakdown

Swap Usage Breakdown

Other Measurements
   0.00 MB -- canvas-2d-pixel-bytes
   0.05 MB -- gfx-surface-image
   9.23 MB -- gfx-surface-xlib
  68.98 MB -- heap-allocated
  76.26 MB -- heap-committed
     9.37% -- heap-committed-fragmentation
   1.97 MB -- heap-dirty
  14.90 MB -- heap-unallocated
         3 -- js-compartments-system
        10 -- js-compartments-user
  33.00 MB -- js-gc-heap
   3.71 MB -- js-gc-heap-arena-unused
   0.00 MB -- js-gc-heap-chunk-clean-unused
   7.54 MB -- js-gc-heap-chunk-dirty-unused
   0.00 MB -- js-gc-heap-decommitted
    34.08% -- js-gc-heap-unused-fraction
   2.17 MB -- js-total-analysis-temporary
   0.71 MB -- js-total-mjit
   9.40 MB -- js-total-objects
   5.32 MB -- js-total-scripts
   8.36 MB -- js-total-shapes
  11.17 MB -- js-total-strings
   0.35 MB -- js-total-type-inference
         4 -- page-faults-hard
    88,484 -- page-faults-soft
144.46 MB -- resident
672.45 MB -- vsize







More information about the pkg-mozilla-maintainers mailing list