[Webkit-unassigned] [Bug 216820] New: Mp4 video memory leak and slow unload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 22 03:10:40 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216820

            Bug ID: 216820
           Summary: Mp4 video memory leak and slow unload
           Product: WebKit
           Version: Safari 13
          Hardware: All
                OS: macOS 10.15
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vladk88 at gmail.com

I have a lot of mp4 video elements on the page that are playing at the same time. On average, their weight is 70-110kb. If i display a lot of mp4 in a video tag, then there is a big memory leak in Safari macOS, Safari iOS. There is no leakage in chrome, and it also cleans the video quickly.

I'm trying to clear the video, but it looks like safari is doing too badly for this task. The page may freeze for 5-10 seconds, or completely freeze.

Here's an example, you can try it in Chrome & Safari. - http://jsfiddle.net/GhS2Z/3/

Chrome instantly removes and adds an element, while safari has a long delay >2s. And this is just 1 video, but I have more than 20 on my page.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200922/06c92cd3/attachment.htm>


More information about the webkit-unassigned mailing list