Closed
Bug 1420795
Opened 7 years ago
Closed 7 years ago
3 sec GC page-freeze every 10 sec. from massive youtube leak in content process (ghost window)
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
RESOLVED
DUPLICATE
of bug 1409115
People
(Reporter: jib, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [memShrink])
Attachments
(2 files)
TL;DR: This is quite bad: a content process is using about a gigabyte of unaccounted-for memory, which GC/CC is choking on, freezing the UI for 3 seconds every 10 seconds!
How I got here:
After a family member had used my laptop and Nightly for youtube for a while, I was working on https://jsfiddle.net/jib1/2jgob190/17/show/ when I noticed its visual audio analyzer rendering was freezing for 3 seconds every 10 seconds (in process id 1560). Oddly, when I ran the same fiddle in a different tab and process (PID 7869) it was running fine without freezing.
Closing all tabs but those two, I found PID 7869 was using 260 mb, while PID 1560 was using 1.1 GB!
about:memory in PID 1560 shows lots of memory still allocated for youtube.com and youtube.be, even though I only have one window with three tabs open, and none of them youtube.
I also did an Instruments profile of PID 1560 showing 4 seconds of GC every 10 seconds like clockwork. During those 4 seconds 92.4% CPU is inside nsCycleCollector::Collect.
See screenshot. Other logs available on request.
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Attachment #8932015 -
Attachment description: aboutMemory.txt → aboutMemory.txt (scroll to "Web Content (pid 1560)")
Comment 2•7 years ago
|
||
Looks like a ghost window. Are you able to reproduce this? Did the profile have any addons installed?
Blocks: GhostWindows
Whiteboard: [memShrink]
Reporter | ||
Comment 3•7 years ago
|
||
about:plugins says:
- OpenH264 Video Codec provided by Cisco Systems, Inc.
- Widevine Content Decryption Module provided by Google Inc.
- Shockwave Flash
I'm not able to repro, though I have the GC logs, and a perf trace, but they're huge.
Reporter | ||
Updated•7 years ago
|
Summary: 3 sec GC page-freeze every 10 sec. from massive youtube leak in content process → 3 sec GC page-freeze every 10 sec. from massive youtube leak in content process (ghost window)
Reporter | ||
Updated•7 years ago
|
Component: General → DOM
Comment 4•7 years ago
|
||
I think I was able to reproduce something similar. smaug was looking at it so I'll needinfo him.
Flags: needinfo?(bugs)
Priority: -- → P2
Comment 5•7 years ago
|
||
I'm regularly seeing ghost windows on YouTube, too, and billm said he was, too. I haven't come up with any good STR yet.
Comment 6•7 years ago
|
||
What was I looking at? Certainly not anything like this.
But I can take a look once there is some way to reproduce.
Or I guess I'll need to spend some work time to watch Steve Vai's videos :p
Comment 7•7 years ago
|
||
This might be a dupe of bug 1409115. I have one STR that creates a YouTube ghost window in a profile, and it seems to be caused by the same thing. I'll post more about it in that bug.
Depends on: 1409115
Comment 8•7 years ago
|
||
Are you still seeing this? I landed a fix for bug 1409115 on Nightly on 12/9 (and just landed it on beta) so it may be fixed now.
Flags: needinfo?(bugs) → needinfo?(jib)
Reporter | ||
Comment 9•7 years ago
|
||
So far so good, and the timeline in bug 1409115 seems to match when this started for me. I'll reopen it if I see it again. Thanks!
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jib)
Resolution: --- → DUPLICATE
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•