[Webkit-unassigned] [Bug 229668] New: Canvas Memory Leak if not appended to DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 30 07:07:55 PDT 2021


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

            Bug ID: 229668
           Summary: Canvas Memory Leak if not appended to DOM
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mb at auctores.de
                CC: dino at apple.com

Created attachment 436766

  --> https://bugs.webkit.org/attachment.cgi?id=436766&action=review

Memory usage

Basically we are having a video (getUserMedia) and mirror it into a canvas. As long as the canvas is not appended to the DOM, we have a memory leak.

After 40 seconds Safari reloads the page...

Funny, we are having 18446744073,98 GB of RAM! (See screenshot in attachment)


Reproduction: https://jsfiddle.net/mkn2tb3h/
Device: iPad 8
iOS: 15.0 (19A5337a)

Kind regards,
Maximilian Böhm

-- 
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/20210830/2140ce92/attachment.htm>


More information about the webkit-unassigned mailing list