Memory explodes on just moving an object

Bug #292407 reported by David Jensen
This bug report is a duplicate of:  Bug #706294: Pattern fills cause memory leak. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

Inkscape eats up a lot of memory fast! Going from a 200-300MB to over a GB in a couple of seconds. This happens whatever I do with the attached file. Especially just moving the rectangle with the pattern around.
Inkscape reports all of the memory as "standard malloc()"

This is 0.46 on a just updated Ubuntu 8.10 (32-bit)

If there is any more information I can give, please just ask.

Thank you

Revision history for this message
David Jensen (david-lgj) wrote :
tags: added: performance
removed: memory
Revision history for this message
su_v (suv-lp) wrote :

This performance issue is due to an extreme example of a group of tiled cloned paths used as pattern.

The original path has 22'638 (!) nodes, the pattern is made of the original + 8 clones. That's 203'742 nodes in just one defined instance of the pattern.

To me it is not surprising that this slow does the rendering of any bag that has the pattern applied as texture. Maybe a reduction of detail that relates to the dimensions of drawn object would bring a better result in performance.

related: Bug #168637 “Optimise clone memory use”

tags: added: clones renderer
removed: linux
su_v (suv-lp)
Changed in inkscape:
status: New → Confirmed
tags: added: pattern
removed: renderer
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.