[Webkit-unassigned] [Bug 218422] New: SVG Filter causes a high memory usage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 1 03:07:24 PST 2020


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

            Bug ID: 218422
           Summary: SVG Filter causes a high memory usage
           Product: WebKit
           Version: Safari 13
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hi at sergiocarracedo.es
                CC: zimmermann at kde.org

Using composition filters into an SVG cause a high memory usage / memory leak in Safari

For example, in this PoC https://5emtw.csb.app/index-nofilter.html Safari reports 21Mb of memory usage, but the same images using filters https://5emtw.csb.app/index.html reports 600MB of memory usage, and after reloading this page a couple of times, Safari reports 1.26GB of memory usage

Even with a simple filter, like ```<feFlood flood-opacity="1" result="BackgroundImageFix"/>``` the memory usage goes high: https://5emtw.csb.app/index2.html

Maybe it's related to: 

* Memory leaks in SVG filters https://bugs.webkit.org/show_bug.cgi?id=78814 
* SVG background-image memory usage is absurd https://bugs.webkit.org/show_bug.cgi?id=108999
* SVG with drop shadow effect uses a huge amount of memory https://bugs.webkit.org/show_bug.cgi?id=105557

-- 
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/20201101/45656e74/attachment.htm>


More information about the webkit-unassigned mailing list