Last Comment Bug 744733 - HTML5 YouTube videos increase heap-unclassified significantly
: HTML5 YouTube videos increase heap-unclassified significantly
[MemShrink:P2] [platform-rel-Youtube]
Product: Core
Classification: Components
Component: Audio/Video: Playback (show other bugs)
: 14 Branch
: x86_64 Windows 7
-- normal with 3 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Anthony Jones (:kentuckyfriedtakahe, :k17e)
Depends on:
Blocks: DarkMatter
  Show dependency treegraph
Reported: 2012-04-12 03:31 PDT by Bram Speeckaert
Modified: 2017-01-27 09:28 PST (History)
8 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Bram Speeckaert 2012-04-12 03:31:02 PDT
Opening HTML5 YouTube videos (and possibly HTML5 video in general) make heap-unclassified numbers go up quite a bit. Closing the relevant tab does eventually make heap-unclassified go back to normal (although it might take a while), so this is likely caused by missing memory reporters somewhere. Interestingly, the amount of memory consumed seems to be related to the player size.

Can be reproduced with latest 32-bit Nightly on Windows 7 64-bit. Haven't done enough testing on other OSes or with older builds, but I'm pretty sure the issue has been around for some time and can possibly be reproduced on Linux as well.

Here are some of my measurements (done with Nightly 2012-04-11 win32 on Windows 7 64-bit):
19,363,448 B (16.58%) ── heap-unclassified (normal, after some light browsing)
31,602,376 B (22.44%) ── heap-unclassified (video open, small player size)
56,717,092 B (34.24%) ── heap-unclassified (video open, large player size)

Test cases:

1. Start Firefox and open about:memory. Take note of heap-unclassified numbers.
2. Open HTML5 YouTube video.
3. Update about:memory and take note of heap-unclassified numbers.
4. Change video player size to small/large.
5. Update about:memory and take note of heap-unclassified numbers.
Comment 1 User image Nicholas Nethercote [:njn] 2012-04-17 16:28:01 PDT
I assume this is a WebM video, in which case this bug is likely to be a dup of bug 682216.

Note You need to log in before you can comment on or make changes to this bug.