Pattern fills cause memory leak

Bug #706294 reported by Mahendra Tallur on 2011-01-22
This bug affects 5 people
Affects Status Importance Assigned to Milestone

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)

su_v (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 :

su_v (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
su_v (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.

Beluga (buovjaga) wrote :

Unable to repro mem leak when zooming around. Mem is freed after zooming out and scrolling out of view at a minimum.
Plz re-test.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15054 (GTK3)

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