Extend memory reporter for TrackBuffersManager
Categories
(Core :: Audio/Video: Playback, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox99 | --- | fixed |
People
(Reporter: bryce, Assigned: bryce)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
It would be nice to have the TrackBuffersManager (and other parts of MediaSource) explicitly report further memory usage. This will help us better identify and track down memory issues that occur in media playback (like bug 1697476).
| Assignee | ||
Comment 1•4 years ago
|
||
Looks like bug 1190592 already did some work here, but we've got some gaps it would be nice to cover.
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 2•4 years ago
|
||
This expands our memory reporting in TrackBuffersManager to cover additional
memory usage. Specifically it now reports several buffers where input data is
stored by the manager. These buffers will not typically take up that much space,
but it doesn't hurt to have them reported against media. Additionally, we've
just fixed a case where one of the buffers reported in this patch was growing
without bound, so it's nice to have some cover on that (bug 1697476 ). Reporting
these metrics will allow for testing of that bug too.
There is still more that could be reported from the TrackBuffersManager, but
that's a big yak to shave, so this patch intentionally does not attempt to do
so.
I've verified this works via about:memory and dmd.py (this also confirms there
are no double counts in my testing).
Updated•4 years ago
|
Comment 4•4 years ago
|
||
| bugherder | ||
Description
•