WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
105557
svg with drop shadow effect uses huge amount of memory
https://bugs.webkit.org/show_bug.cgi?id=105557
Summary
svg with drop shadow effect uses huge amount of memory
Marc Bernard
Reported
2012-12-20 11:15:21 PST
Created
attachment 180374
[details]
Reproducible example Adding svg with a drop shadow effect uses a huge amount of memory. See attached file for an example. Chrome Canary grows to over 1GB quickly. Mobile Safari crashes after adding about four elements. Steps to Reproduce: 1) Monitor memory usage of the browser. 2) Add an svg element with a drop shadow effect. The memory usage climbs significantly. 3) Keep adding more elements until the browser becomes unresponsive or crashes. Tested the example page on Mobile Safari (6.0.1), desktop Safari (6.0.2 on OSX 10.7.5), Chrome (26.0.1366.0 on Windows 7). Firefox 17.0.1 and IE10 do not exhibit the same problem.
Attachments
Reproducible example
(3.13 KB, text/html)
2012-12-20 11:15 PST
,
Marc Bernard
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2012-12-24 00:07:37 PST
This is a custom drop shadow made with an feGaussianBlur and an feOffset, not feDropShadow.
Brent Fulgham
Comment 2
2022-07-15 15:56:38 PDT
Chrome and Firefox seem to have stable memory in this use case. Safari grows memory by a few hundred MB each time you add a new drop shadow.
Radar WebKit Bug Importer
Comment 3
2022-07-15 15:57:05 PDT
<
rdar://problem/97098889
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug