Large memory usage when browsing picture gallery on OneDrive

RESOLVED INCOMPLETE

Status

()

Firefox
Untriaged
RESOLVED INCOMPLETE
a year ago
a year ago

People

(Reporter: raymondb, Unassigned)

Tracking

48 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

a year ago
Created attachment 8781215 [details]
about_support.txt

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160726073904

Steps to reproduce:

Repro (using 64 bit Firefox 48):
    * login to your OneDrive account and, in a folder that already has 500 pictures (about 3MB each)
    * browse pictures for a few minutes
    * upload another 150 pictures then browse some for another few minutes


Actual results:

Firefox memory usage grows to more than 3GB. Here is a snip from about:memory

4,742.40 MB (100.0%) -- explicit
├──3,967.14 MB (83.65%) -- window-objects
│  ├──3,811.57 MB (80.37%) -- top(https://onedrive.live.com/?id=obfuscated, id=60)
│  │  ├──3,708.96 MB (78.21%) -- active
│  │  │  ├──3,703.51 MB (78.09%) -- window(https://onedrive.live.com/?id=obfuscated)
│  │  │  │  ├──3,180.49 MB (67.06%) -- js-compartment(https://onedrive.live.com/?gologin=1&mkt=en-US)
│  │  │  │  │  ├──3,177.76 MB (67.01%) -- classes
│  │  │  │  │  │  ├────872.37 MB (18.40%) -- class(Function)/objects
│  │  │  │  │  │  │    ├──752.85 MB (15.87%) ── gc-heap
│  │  │  │  │  │  │    └──119.52 MB (02.52%) ── malloc-heap/slots
│  │  │  │  │  │  ├────867.97 MB (18.30%) -- class(Object)/objects
│  │  │  │  │  │  │    ├──462.13 MB (09.74%) ── gc-heap
│  │  │  │  │  │  │    └──405.83 MB (08.56%) -- malloc-heap
│  │  │  │  │  │  │       ├──249.27 MB (05.26%) ── slots
│  │  │  │  │  │  │       └──156.56 MB (03.30%) ── elements/normal
│  │  │  │  │  │  ├────771.19 MB (16.26%) -- class(Call)/objects
│  │  │  │  │  │  │    ├──771.15 MB (16.26%) ── gc-heap
│  │  │  │  │  │  │    └────0.04 MB (00.00%) ── malloc-heap/slots
│  │  │  │  │  │  ├────394.05 MB (08.31%) -- class(Array)/objects
│  │  │  │  │  │  │    ├──387.29 MB (08.17%) ── gc-heap
│  │  │  │  │  │  │    └────6.76 MB (00.14%) ++ malloc-heap
│  │  │  │  │  │  ├────147.89 MB (03.12%) -- shapes
│  │  │  │  │  │  │    ├───98.90 MB (02.09%) -- gc-heap
│  │  │  │  │  │  │    │   ├──78.65 MB (01.66%) ── dict
│  │  │  │  │  │  │    │   └──20.26 MB (00.43%) ++ (2 tiny)
│  │  │  │  │  │  │    └───48.98 MB (01.03%) ++ malloc-heap
│  │  │  │  │  │  └────124.29 MB (02.62%) ++ (14 tiny)
│  │  │  │  │  └──────2.73 MB (00.06%) ++ (5 tiny)
│  │  │  │  ├────491.00 MB (10.35%) ++ dom
│  │  │  │  └─────32.01 MB (00.68%) ++ (3 tiny)
│  │  │  └──────5.45 MB (00.11%) ++ (15 tiny)
│  │  └────102.61 MB (02.16%) ++ js-zone(0x239ddbdd000)
│  ├─────80.78 MB (01.70%) -- top(https://mail.google.com/mail/u/0/#inbox, id=219)
│  │     ├──60.43 MB (01.27%) ++ active
│  │     └──20.36 MB (00.43%) ++ js-zone(0x239f4867800)
│  └─────74.80 MB (01.58%) ++ (9 tiny)
├────213.82 MB (04.51%) -- heap-overhead
│    ├──173.29 MB (03.65%) ── bin-unused
│    └───40.53 MB (00.85%) ++ (2 tiny)
├────191.33 MB (04.03%) -- js-non-window
│    ├───80.21 MB (01.69%) -- zones
│    │   ├──49.78 MB (01.05%) ++ zone(0x239cc968000)
│    │   └──30.42 MB (00.64%) ++ (9 tiny)
│    ├───56.05 MB (01.18%) ++ gc-heap
│    └───55.07 MB (01.16%) ++ runtime
├────160.17 MB (03.38%) ── heap-unclassified
├────110.70 MB (02.33%) ++ (21 tiny)
└─────99.24 MB (02.09%) -- xpconnect
      ├──96.16 MB (02.03%) ── runtime
      └───3.08 MB (00.06%) ++ (4 tiny)


Expected results:

Even-though I have 32 GB RAM available, using >3GB in this scenario is excessive. Also the other tabs in FF become fairly sluggish.

Forcing a garbage collection reduces memory usage, but insignificantly.

Comment 1

a year ago
Created attachment 8783056 [details]
AboutMemory.png

Hello Raymon, I couldn’t reproduce this issue on
  
Build ID                20160726073904
User Agent          Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0

I have 70 pics in my OneDrive of 12-20 MB each. I browsed for a few minutes and uploaded 75 pics (12-20 MB each). I observed in my task manger that memory usage went up to 1.2 GB (3-4 other tabs were opened). In about:memory it doesn't show same. Attached is about:memory and task manager report.
I also tested with fresh profile with no addons. This time it was 145 pics (10-12 MBs each), browsed for a few minutes and then uploaded another 75 pics. In Task manager memory usage stayed around 500 MB and in about memory it showed 180 MB.
May I request you to try with a new clean profile and safe mode. Let me know your observation.
Flags: needinfo?(raymondb)

Comment 2

a year ago
Closing this bug as resolved: Incomplete due to no update from Reporter. Feel free to open this bug if you still encounter this issue.
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Flags: needinfo?(raymondb)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.