Inkscape: A Vector Drawing Tool

Pattern fills cause memory leak

Reported by Mahendra Tallur on 2011-01-22
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Inkscape
High
Unassigned

Bug Description

Hi everyone,

there are other related bugs, but I decided to open a new one with a specific use case.

Short form : when using a complex spiraling pattern, hundreds of MegaBytes or ram are used by Inkscape after zooming in and out a couple of times. After working on the document for several minutes, Inkscape completely fills my 4 GB of ram and causes the system to crash (or is killed by the kernel).

I isolated the object which triggers the issue. It's a simple polygon to which is applied a complex pattern.
(please also note that PDF export fails : evince doesn't manage to render it and gets extremely slow before crashing)

Cheers !

(Using : Ubuntu 10.10 AMD64, no PPA, Inkscape 0.48)

~suv (suv-lp) wrote :

> there are other related bugs, but I decided to open a new one with a specific use case.

Could you please add the links (or bug numbers) to the reports you are referring to?

tags: added: pattern performance
Mahendra Tallur (mahen) wrote :

Well, I was refering to reports that describe memory leaks. Most of them are pretty specific (and describe use cases different from mine) but there is also a general one here : https://bugs.launchpad.net/inkscape/+bug/608944

~suv (suv-lp) wrote :

Reproduced with Inkscape 0.48+devel r10009 on OS X 10.5.8

Changed in inkscape:
importance: Undecided → High
status: New → Confirmed
~suv (suv-lp) wrote :

Seems to be the same issue as reported in bug #608944 - when removing the pattern fills from its attached SVG file, the memory leak no longer occurs when changing zoom levels.

summary: - Huge memory leak when zooming in & out complex pattern (example
- attached)
+ Pattern fills cause memory leak
tags: added: renderer
Krzysztof Kosinski (tweenk) wrote :

The situation is substantially improved in current trunk, but there is still a smaller memory leak when zooming around in a document with pattern fills.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers