UNCONFIRMED 95823
SVG: Memory leak with embedded fonts
https://bugs.webkit.org/show_bug.cgi?id=95823
Summary SVG: Memory leak with embedded fonts
Michael Pfob
Reported 2012-09-04 23:40:43 PDT
Created attachment 162167 [details] Image for reproduction Loading SVG images leaks some memory. This happens probably when the SVG has an embedded font definition. The bug can be reproduced with the attached image in the following way: - Open the image several times and watch the memory consumption The memory consumption increases even worse when you have the correct environment for this image (like the referenced resources). This can be taken from the W3C SVG Testsuite, where this image was extracted from. The bug was reproduced both with Chrome 21.0 as well as the simple WinLauncher Browser from Webkit-Nightly (revisions 125738, 127384).
Attachments
Image for reproduction (8.41 KB, image/svg+xml)
2012-09-04 23:40 PDT, Michael Pfob
no flags
Michael Pfob
Comment 1 2012-09-04 23:42:23 PDT
A possible reason for this leak is the RefPtr m_fontElement within the class SVGFontFaceElement that points to SVGFontElement.
Michael Pfob
Comment 2 2012-09-05 06:51:56 PDT
This is probably a duplicate of 66438 (sorry for posting without searching enough) but a search for leak did not result in that bug
Note You need to log in before you can comment on or make changes to this bug.