Closed Bug 315881 Opened 20 years ago Closed 18 years ago

SVG causes huge memory consumption

Categories

(Core :: SVG, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: bart, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 When opening the URL, the memory usage of X will grow to huge proportions (450MB or 90% of available memory). Reproducible: Always Steps to Reproduce: 1. Open URL http://www.friesoft.nl/adn.svg Actual Results: X slows down. Expected Results: Rendered SVG (or error message if used parts of the SVG or not implemented yet) The SVG is written by myself, and renders correctly in Adobe SVG Viewer in both Linux (Firefox 1.0.7) and Windows (Internet Explorer 6). It uses a large amount of scripts, but they are not available in the testcase. When scripts are available, the same thing happens. Because the system slows down, it is hard to find out what exactly the problem is.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051109 Firefox/1.5 ID:2005110922 WFM.
Right. It works fine on Windows (though the scripts do not work; the changing of the Viewbox attribute doesn't. But that's another issue), it is Linux/X where it is not working.
Assignee: nobody → general
Component: General → SVG
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.0 Branch
Attached image testcase
This exhibits the bug with linux SeaMonkey trunk 20051111 <rect width="15961.904" height="13461.905" /> The testcase isn't as bad as the whole page, but still makes things pretty sluggish. It seems to mostly be X (not the app) that uses CPU.
marking NEW
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Version: 1.0 Branch → Trunk
wfm black screen in ~1sec Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Is this still a problem with a trunk nightly on Linux?
Attached testcase loads instantly and redraws fast on linux trunk.
This got fixed by the cairo 1.5.x upgrade
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: 383960
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: