Excessive CPU and memory usage rendering object with pattern and drop shadow

Bug #1746275 reported by Tony Houghton
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When loading the attached file inkscape hangs for a long time with high CPU (mostly on one core) and memory usage. Eventually it manages to render the file. But I tried to scale it by 177.778% (wanting to change the page size from 72px to 128px) and at this size inkscape runs out of memory and crashes before it can complete the render.

The file contains an object with a hand-drawn pattern and a drop-shadow; I'm not sure which feature, if either, is the main cause of the problem. I last edited the file a few years ago, and I remember it made inkscape quite sluggish, but not unusable like this.

The PC is a laptop with 8GB RAM + 8GB swap and a 2560x1440 hidpi display. Inkscape is from the official Arch Linux package, version 0.92.2-8.

Revision history for this message
Tony Houghton (h-realh) wrote :
Revision history for this message
Tony Houghton (h-realh) wrote :

I don't know if this helps, but I've discovered that in command line mode (inkscape -C -e ...) inkscape can export a correct-looking PNG of this image in a fraction of a second.

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.