[Webkit-unassigned] [Bug 108999] New: SVG background-image memory usage is absurd

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 5 18:39:14 PST 2013


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

           Summary: SVG background-image memory usage is absurd
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://jsfiddle.net/LybU7/3/show
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bugs.webkit.org at zetafleet.com
                CC: zimmermann at kde.org


WebKit seems to recreate/allocate new memory for every single element on a page that uses the same SVG background-image, which basically it impossible to use SVG as a resolution-independent image source for any meaningful number of graphics.

Repro:
1. Load test case URL
2. Click "Add SVG" a few times
3. Notice memory usage increases substantially for each new element, even though they all share the same SVG source

Test results:
Safari 6 Mac: Bad
Mobile Safari 6.1: Bad
Chrome 26 Mac: Bad
WebKit r141714 Mac: Bad
Firefox 18 Mac: OK
IE 9 Win: OK
Opera 12.12 Mac: OK

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list