Closed
Bug 1509656
Opened 6 years ago
Closed 3 years ago
Clicking on the pinned "super comments" on a live chat in a youtube livestream uses 2.2 GB RAM. Most of it is gpu-committed and gpu-shared (non-WR)
Categories
(Core :: Graphics, defect, P3)
Core
Graphics
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mayankleoboy1, Unassigned)
References
()
Details
(Whiteboard: [MemShrink:P3][sci-exclude])
Attachments
(4 files, 3 obsolete files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Steps to reproduce:
i was watching a live stream with the chat window on youtube : https://www.youtube.com/watch?v=jfZ61lC89Vc
scroll the chat window up and down a few times
Actual results:
ram increases very fast. It reached 2.2GB in my case
If I hide the chat window, memory use decreases
Expected results:
not so
Reporter | ||
Updated•6 years ago
|
Component: General → Untriaged
Product: Core → Firefox
Reporter | ||
Updated•6 years ago
|
Summary: Youtube live stream with chat window takes 2.2GB RAM → Opening the live chat in a youtube livestream uses 2.2 GB RAM
Reporter | ||
Comment 1•6 years ago
|
||
i tried to repro on another livestream with comments, but didnt reproduce.
In the original livestream, there were lots of "supe comments". Maybe the chat stream needs some "supe commnets" to repro the memory use?
Comment 2•6 years ago
|
||
What are "supe comments"?
Reporter | ||
Comment 3•6 years ago
|
||
I meant "'super comments".
These are the comments where you donate money to the livestreamer. Depending on the amount you donate, the comment gets "pinned" at the top of the chat window for some time.
In my original livestream, there were a lot of "super comments".
I think the best way to get a livestream with lots of "super comments" would be to go to https://www.youtube.com/channel/UC4R8DWoMoI7CAwX8_LjQHig , and then try a few streams to check
Whiteboard: [MemShrink]
Reporter | ||
Comment 4•6 years ago
|
||
OK. HEre is the STR:
You dont even need to sign in to youtube.
1. Go to https://www.youtube.com/watch?v=jfZ61lC89Vc&t=15s
1.5 Make sure that the chat mode is "top comments"
2. go to roughly the 31-32 minute mark. This is the time when the donations start pouring in
3. When a donation comes it gets pinned at teh top.
4. Click on the pinned comment. This will show a popup with the money amount, name of the commentor, and the comment.
When a pinned comment is clicked, memory increases very quickly. If you scroll to a time where there are a lot of pinned comments (35 minute mark), and click on a pinned comment, wait for a few seconds, and hen click on another.
This will cause the memory to grow.
Reporter | ||
Comment 5•6 years ago
|
||
On a fresh profile, without looging in to google/youtube.
memory use was around 2GB.
Reporter | ||
Comment 6•6 years ago
|
||
video of what to do. Slight change is to wait for a few seconds when you click on a pinned comment
Reporter | ||
Updated•6 years ago
|
Summary: Opening the live chat in a youtube livestream uses 2.2 GB RAM → Clicking on the pinned "super comments" on a live chat in a youtube livestream uses 2.2 GB RAM
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 7•6 years ago
|
||
before I open the chat window
Reporter | ||
Comment 8•6 years ago
|
||
after I open the chat window, and click on a few pinned comments
Reporter | ||
Comment 9•6 years ago
|
||
Attachment #9027338 -
Attachment is obsolete: true
Attachment #9027364 -
Attachment is obsolete: true
Reporter | ||
Comment 10•6 years ago
|
||
this is not related to video per se. Looks more like a gfx issue.
Summary: Clicking on the pinned "super comments" on a live chat in a youtube livestream uses 2.2 GB RAM → Clicking on the pinned "super comments" on a live chat in a youtube livestream uses 2.2 GB RAM. Most of it is gpu-committed and gpu-shared
Reporter | ||
Comment 11•6 years ago
|
||
if i enable WR or use skia as the backend, i dont see any memory increase
Flags: needinfo?(jyavenard)
Summary: Clicking on the pinned "super comments" on a live chat in a youtube livestream uses 2.2 GB RAM. Most of it is gpu-committed and gpu-shared → Clicking on the pinned "super comments" on a live chat in a youtube livestream uses 2.2 GB RAM. Most of it is gpu-committed and gpu-shared (non-WR)
Reporter | ||
Comment 12•6 years ago
|
||
Attachment #9027368 -
Attachment is obsolete: true
Reporter | ||
Comment 13•6 years ago
|
||
If i disable hardware acceleration, I cant repro it. So most probably a driver/D2D issue.
Also, was able to repro this in a 1 year old, and a 2 year old build. So definitely not a recent regression
Product: Firefox → Core
Updated•6 years ago
|
Component: Untriaged → Graphics
Flags: needinfo?(jyavenard)
Reporter | ||
Updated•6 years ago
|
Comment 14•6 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0 (20181126100057)
I've tested this report on Windows 10 using the latest Nightly and Fx release builds. I did not manage to reproduce it with the steps from comment 4 and with a couple of random live streams. When loading a video with super comments I do not observe my RAM to go up.
Reporter | ||
Comment 15•6 years ago
|
||
(In reply to Stefan [:StefanG_QA] from comment #14)
> Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101
> Firefox/65.0 (20181126100057)
>
> I've tested this report on Windows 10 using the latest Nightly and Fx
> release builds. I did not manage to reproduce it with the steps from comment
> 4 and with a couple of random live streams. When loading a video with super
> comments I do not observe my RAM to go up.
Could be your graphics adapter and driver are different than mine.. I would be glad to share my screen or something to help you repro the STR.
Comment 16•6 years ago
|
||
Bas, any ideas? Maybe there's something we're doing that could improve this case? It seems weird that we get so much driver memory for a little YouTube feature.
Flags: needinfo?(bas)
Updated•6 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P3]
Reporter | ||
Comment 17•6 years ago
|
||
A better URL could be https://www.youtube.com/watch?v=wdBK2ac2Ihs&t=2358s
open it, let the video play, open the chatstream and click on the "super comments".
Reporter | ||
Comment 18•6 years ago
|
||
:rhunt is probably more associated with gfx now
Flags: needinfo?(bas) → needinfo?(rhunt)
Updated•6 years ago
|
Priority: -- → P3
Reporter | ||
Updated•6 years ago
|
Comment 19•5 years ago
|
||
I don't think I will be able to get to this as this is my last week on the graphics team.
Flags: needinfo?(rhunt)
Updated•5 years ago
|
Whiteboard: [MemShrink:P3] → [MemShrink:P3][sci-exclude]
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 20•3 years ago
|
||
non-WR doesnt exist anymore
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•