Memory leak when zooming big file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Liam P. White |
Bug Description
It seems there is a regression between 0.48.4 and 0.91 when handling zooming of big svg files.
I attached a sample svg file to reproduce the problem. When using 0.91 (tried the GNU/Linux and Windows-64 versions) and zooming (max factor) the center of top-right figure, the memory consuption of the system increase dramatically (it easily eats the 12Gio RAM of my system). On a machine with 4Gio RAM, it rapidly starts to swap and the computer become unresponsive.
I just tried version 0.91.0+
When doing the same with 0.48.4-3ubuntu2 (as shipped with ubuntu 14.04) this is smooth and consume at most 300Mo RAM.
Note : there is bug n°308589 showing a similar problem, but not sure it's really the same so filling a new one...
Related branches
tags: | added: performance regression zoom |
Changed in inkscape: | |
importance: | Undecided → High |
Changed in inkscape: | |
milestone: | 0.91.1 → 0.92 |
status: | Fix Committed → Fix Released |
- not reproduced on Windows 7, 32 bit, Inkscape 0.91 r13725 (Jan 30 2015)
the response is admittedly slow, but not unexpectedly so, and zooming in to 25600% does not seem to make it worse.
- similar behavior on Windows XP, recent 32 bit trunk build of Inkscape.
- unfortunately I no longer have 0.48.4 available for testing.
attached is a screenshot of memory usage on Windows 7. The memory initially maxes out at 2GB, which is all there is. Then it stabilizes back to about 1.2GB and bahaves well after that. The spikes are periods where I was zooming in.