Closed Bug 859747 Opened 11 years ago Closed 10 years ago

69gag.com super janky scrolling. RAM increases to 1.4GB. Almost a hang of UI.

Categories

(Core :: General, defect)

23 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mayankleoboy1, Unassigned)

References

()

Details

(Keywords: hang)

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20130408 Firefox/23.0
Build ID: 20130408030928

Steps to reproduce:

1. Createfresh profile.
2. Disable all plugins.
3.Go to 69gag.com (NSFW)

4. Note the jank while site is loading.
5. *Click on each video. Since flash is disabled (and vids dont have a WebM equivalent), the video container will show as "plugin needed".*

6. Keep scrolling down more.
7. After a point, lots of images will try to load. Note the jank.


Actual results:

Overall much janky experience.


Expected results:

Smooth scrolling.
The first profile shows a 16 second CC time!

Profiles :  http://people.mozilla.com/~bgirard/cleopatra/#report=8af37e397a058fb6dde1babc9a9fab6108c45f2c

http://people.mozilla.com/~bgirard/cleopatra/#report=7e81cf1f08d8bd9e473d579fb0674377509b2e00
Maybe a different bug, but if you enable flash, and then click on each video, play it a bit and then do "stop download" , the page will OOM.
Whiteboard: [Snappy]
Less verbose about:memory

Main Process
Explicit Allocations

1,292.36 MB (100.0%) -- explicit
├────972.03 MB (75.21%) -- window-objects
│    ├──941.61 MB (72.86%) -- top(http://www.69gag.com/, id=47)
│    │  ├──934.68 MB (72.32%) -- active
│    │  │  ├──921.71 MB (71.32%) ++ (691 tiny)
│    │  │  └───12.97 MB (01.00%) ++ window(http://www.69gag.com/)
│    │  └────6.94 MB (00.54%) ++ js-zone(1d8a6000)
│    ├───20.50 MB (01.59%) ++ top(chrome://browser/content/browser.xul, id=3)
│    └────9.92 MB (00.77%) ++ (4 tiny)
├────122.15 MB (09.45%) -- js-non-window
│    ├──103.63 MB (08.02%) -- zones
│    │  ├───85.95 MB (06.65%) -- zone(434a000)
│    │  │   ├──35.24 MB (02.73%) ++ (377 tiny)
│    │  │   ├──25.37 MB (01.96%) -- compartment([System Principal], jar:file:///C:/Users/Administrator/AppData/Roaming/Mozilla/Firefox/Profiles/rt0p61f7.Default%20User/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js (from: resource://gre/modules/XPIProvider.jsm:3720))
│    │  │   │  ├──15.28 MB (01.18%) ++ gc-heap
│    │  │   │  └──10.09 MB (00.78%) ++ (6 tiny)
│    │  │   └──25.34 MB (01.96%) -- gc-heap
│    │  │      ├──19.02 MB (01.47%) ── unused-gc-things
│    │  │      └───6.32 MB (00.49%) ++ (4 tiny)
│    │  └───17.68 MB (01.37%) ++ (5 tiny)
│    ├───15.85 MB (01.23%) ++ runtime
│    └────2.67 MB (00.21%) ++ gc-heap
├────111.97 MB (08.66%) ── heap-unclassified
├─────39.69 MB (03.07%) -- images
│     ├──39.12 MB (03.03%) -- content
│     │  ├──39.12 MB (03.03%) -- used
│     │  │  ├──39.09 MB (03.02%) ── raw
│     │  │  └───0.03 MB (00.00%) ++ (2 tiny)
│     │  └───0.00 MB (00.00%) ++ unused
│     └───0.57 MB (00.04%) ++ chrome
├─────29.74 MB (02.30%) ++ (16 tiny)
└─────16.78 MB (01.30%) -- storage
      ├──15.35 MB (01.19%) ++ sqlite
      └───1.43 MB (00.11%) ++ prefixset

Other Measurements

22.71 MB (100.0%) -- decommitted
├──19.71 MB (86.76%) ── js-non-window/gc-heap/decommitted-arenas
└───3.01 MB (13.24%) -- workers/workers()
    ├──1.51 MB (06.64%) ── worker(resource://gre/modules/PageThumbsWorker.js, 0x97dc400)/gc-heap/decommitted-arenas
    └──1.50 MB (06.60%) ── worker(resource://gre/modules/osfile/osfile_async_worker.js, 0x5487400)/gc-heap/decommitted-arenas

1,430 (100.0%) -- js-compartments
├──1,043 (72.94%) ── user
└────387 (27.06%) ── system

247.13 MB (100.0%) -- js-main-runtime
├──161.77 MB (65.46%) -- compartments
│  ├──105.43 MB (42.66%) -- gc-heap
│  │  ├───52.60 MB (21.29%) -- objects
│  │  │   ├──30.65 MB (12.40%) ── function
│  │  │   ├──11.57 MB (04.68%) ── ordinary
│  │  │   ├───7.73 MB (03.13%) ── dense-array
│  │  │   └───2.65 MB (01.07%) ── cross-compartment-wrapper
│  │  ├───49.10 MB (19.87%) -- shapes
│  │  │   ├──19.91 MB (08.06%) ── base
│  │  │   ├──15.21 MB (06.15%) -- tree
│  │  │   │  ├──13.63 MB (05.52%) ── global-parented
│  │  │   │  └───1.58 MB (00.64%) ── non-global-parented
│  │  │   └──13.98 MB (05.66%) ── dict
│  │  └────3.73 MB (01.51%) ── scripts
│  ├───30.04 MB (12.15%) -- shapes-extra
│  │   ├──21.29 MB (08.61%) ── compartment-tables
│  │   ├───5.53 MB (02.24%) ── dict-tables
│  │   └───3.22 MB (01.30%) ++ (2 tiny)
│  ├───18.65 MB (07.54%) -- objects-extra
│  │   ├──16.37 MB (06.62%) ── slots
│  │   └───2.28 MB (00.92%) ++ (3 tiny)
│  ├────2.99 MB (01.21%) -- type-inference
│  │    ├──2.75 MB (01.11%) ── analysis-pool
│  │    └──0.24 MB (00.10%) ++ (3 tiny)
│  ├────2.76 MB (01.12%) ── cross-compartment-wrapper-table
│  └────1.91 MB (00.77%) ++ (8 tiny)
├───66.84 MB (27.05%) -- zones
│   ├──43.19 MB (17.48%) -- gc-heap
│   │  ├──28.81 MB (11.66%) ── unused-gc-things
│   │  ├──11.79 MB (04.77%) -- strings
│   │  │  ├───7.74 MB (03.13%) ── normal
│   │  │  └───4.04 MB (01.64%) ── short
│   │  └───2.59 MB (01.05%) ++ (3 tiny)
│   ├──23.47 MB (09.50%) -- string-chars
│   │  ├──21.57 MB (08.73%) ── non-huge
│   │  └───1.90 MB (00.77%) ++ huge
│   └───0.18 MB (00.07%) ++ (2 tiny)
├───15.85 MB (06.41%) ── runtime
└────2.67 MB (01.08%) -- gc-heap
     ├──2.67 MB (01.08%) ── chunk-admin
     └──0.00 MB (00.00%) ++ (2 tiny)

151.29 MB (100.0%) -- js-main-runtime-gc-heap-committed
├──122.48 MB (80.96%) -- used
│  ├──118.94 MB (78.61%) ── gc-things
│  ├────2.67 MB (01.77%) ── chunk-admin
│  └────0.87 MB (00.58%) ── arena-admin
└───28.81 MB (19.04%) -- unused
    ├──28.81 MB (19.04%) ── gc-things
    └───0.00 MB (00.00%) ++ (2 tiny)

0 (100.0%) -- low-memory-events
├──0 (100.0%) ── physical
└──0 (100.0%) ── virtual

847.07 MB (100.0%) -- window-objects
├──833.84 MB (98.44%) -- layout
│  ├──819.45 MB (96.74%) ── style-sets
│  └───14.38 MB (01.70%) ++ (7 tiny)
├───11.97 MB (01.41%) ++ dom
└────1.26 MB (00.15%) ++ (2 tiny)

    0.00 MB ── canvas-2d-pixel-bytes
1,289.19 MB ── explicit
    0.12 MB ── gfx-d2d-surfacecache
    4.37 MB ── gfx-d2d-surfacevram
    8.93 MB ── gfx-d2d-vram-drawtarget
    4.94 MB ── gfx-d2d-vram-sourcesurface
    5.20 MB ── gfx-surface-image
    0.00 MB ── gfx-textures
          0 ── ghost-windows
1,136.53 MB ── heap-allocated
1,167.39 MB ── heap-committed
   30.84 MB ── heap-committed-unused
      2.71% ── heap-committed-unused-ratio
    2.19 MB ── heap-dirty
  159.44 MB ── heap-unused
    0.03 MB ── images-content-used-uncompressed
  171.00 MB ── js-gc-heap
    6.27 MB ── js-main-runtime-temporary-peak
          0 ── low-commit-space-events
1,434.02 MB ── private
1,455.53 MB ── resident
   15.35 MB ── storage-sqlite
1,889.21 MB ── vsize
-- >  attachment 735212 [details]   :  about:memory of my regular profile. It has many tracking protection lists added.


-- >  attachment 735232 [details]  : This is about:memory of fresh profile. 

Note that loading the page takes more time in a fresh profile without any tracking protection. Takes about 2-3 minutes to load the page after some scrolling.

Adding memshrink as memory balloons from ~200MB to ~1.4GB.
Whiteboard: [Snappy] → [Snappy] [Memshrink]
Something is seriously wrong on this site. I tried the STR on Chrome 26, and it too became janky scroller, and had a bigger memory bloat than Nightly.
Summary: 69gag.com super janky scrolling. 16 second CycleCollection time → 69gag.com super janky scrolling. RAM increases to 1.4GB. Almost a hang of UI.
IE10 hanged on this page after scrolling down. Memory increased to 1.5GB .
I had to force quit it.
Keywords: hang
Whiteboard: [Snappy] [Memshrink]
I confirm the jerky scrolling on nightly 23.0a1 (2013-04-12)
Possible dupe of bug 845147?
Blocks: 689623
Status: UNCONFIRMED → NEW
Ever confirmed: true
I dont think the jank is due to too many images loading , though that could be a contributing factor.
Component: Untriaged → ImageLib
Product: Firefox → Core
(In reply to mayankleoboy1 from comment #9)
> I dont think the jank is due to too many images loading , though that could
> be a contributing factor.

(In reply to mayankleoboy1 from comment #3)
>     0.03 MB ── images-content-used-uncompressed

Yeah, there isn't any evidence pointing to images being the problem here yet. I'm going to remove the dependency until we know more.
No longer blocks: 689623
Component: ImageLib → General
Attached file memory-report.json.gz
Adding the latest about:memory report. Hope this helps in identifying the issue.
How is this different than bug 934396 ?
AFAICT, this bug is unrelated to imagelib stuff. From the about:memory profile i attaached, it looks more like JS or layout something, maybe.

bug 934396 is almost certainly related to image decoding issue.
http://www.69gag.com/ server not found

can you still reproduce?
Flags: needinfo?(mayankleoboy1)
69gag.com appears to be offline.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(mayankleoboy1)
Resolution: --- → WORKSFORME
incomplete seems to me more appropriate
Resolution: WORKSFORME → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: