Twitch.tv live stream wasm web worker has high memory fluctuations
Categories
(Core :: JavaScript: GC, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox65 | --- | affected |
People
(Reporter: ke5trel, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: memory-footprint, Whiteboard: [MemShrink:P2])
Attachments
(3 files)
Comment 2•7 years ago
|
||
![]() |
||
Comment 3•7 years ago
|
||
![]() |
||
Comment 5•7 years ago
|
||
Updated•7 years ago
|
Comment 6•7 years ago
|
||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
This is probably due to the way we track malloc memory associated with GC things. We don't have size information when we free malloc memory so we just track total allocation size since the last GC. If this hits a threshold we trigger a GC and increase the threshold. I suspect that GC is freeing the memory, but because we keep hitting this threshold we keep increasing it, so GCs become increasingly rare. Ideally we'd have retained size information which we would use to set the threshold appropriately.
Updated•6 years ago
|
Firefox 66 still allocates 1 GiB of memory for 1 Twitch.tv tab.
I think this bug affects other video sites too.
Comment 9•6 years ago
|
||
This doesn't seem to happen in nightly any more, but it didn't always reproduce for me. Can you check whether this is still a problem?
Reporter | ||
Comment 10•6 years ago
|
||
Reporter | ||
Comment 11•6 years ago
|
||
I can no longer reproduce this in latest Nightly on Ubuntu 19.04.
Fixed by Bug 1569560.
Comment 12•6 years ago
|
||
(In reply to Kestrel from comment #11)
\o/
Thanks for confirming.
Description
•