Excessive CPU and memory usage rendering object with pattern and drop shadow
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.
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.