inkscape have memory hungry

Bug #1418563 reported by Jon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Liam P. White

Bug Description

I'm using Linux Mint 17.1 64b (based on Ubuntu 14.04) with an NVIDIA GeForceGTX 650 (driver 331.113) with a resolution of 1280x1024 pixels and a depth of 24b (X version 11.0).

I update inkscape from v.48.4 to v.91.0 through the official PPA and notice that the new version is loaded faster but when working with a file the memory used by the software explodes and is inmpracticable to edit the file handily because it slows very much the system.

I have make a comparison of memory usage and take a serie of screenshots to show you.

Revision history for this message
Jon (godbhaal666) wrote :
Revision history for this message
jazzynico (jazzynico) wrote :

Thanks for your report, Jon!

Did you notice that memory consumption increase with a specific file? If so, could you please attach it to the report so that we could investigate the issue? Thanks.

tags: added: performance
removed: memory
Changed in inkscape:
status: New → Incomplete
Revision history for this message
Jon (godbhaal666) wrote :

Sorry not to test before, Inkscape works well on other files I have.
It seems a problem with the file so I remove all extra layers and objects to shrink the lace to the problematic part.
I get this 100kb file with the problem. Also, it depends on the zoom and while you are rendering that the memory explodes.

Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Crunchbang Waldorf, Inkscape trunk revision 13904.
The file uses lots of memory (3 Gio when loaded full screen).

I have also noticed that selecting all the object and ungrouping twice (with Ctrl+U) crashes the application.

Changed in inkscape:
importance: Undecided → High
status: Incomplete → Triaged
Revision history for this message
jazzynico (jazzynico) wrote :
Revision history for this message
jazzynico (jazzynico) wrote :

Same bt as in Bug #1001756 "Crash when ungrouping a selection that contains a group and its clone" (marked fixed)
<https://bugs.launchpad.net/inkscape/+bug/1001756>

Revision history for this message
su_v (suv-lp) wrote :

Performance regression reproduced with Inkscape 0.91 r13725 and 0.91+devel r13904 on OS X 10.7.5. The same file opens quickly and without excessive memory usage in 0.48.5.

tags: added: regression
Changed in inkscape:
milestone: none → 0.92
Revision history for this message
Francis Thérien (frtherien) wrote :

I just wanted to confirm that I was also experiencing this issue with inkscape 0.91, both on ubuntu 15.04 and windows with the official installer. I have a 170kb SVG file generated by matplotlib that caused inkscape to ramp up to 1.6gb memory usage, at which point my laptop (2gb memory) would be completely frozen.

I compiled the latest devel version pulled from BZR and the issue is fixed (thanks devs). Hopefully the fixed version will be released to the ubuntu repos soon enough.

Revision history for this message
su_v (suv-lp) wrote :

On 2015-05-15 16:15 (+0200), Francis Thérien wrote:
> I compiled the latest devel version pulled from BZR and the issue is
> fixed (thanks devs). Hopefully the fixed version will be released to
> the ubuntu repos soon enough.

Confirmed independently with trunk builds on OS X 10.7.5.

Based on tests with archived builds:
- reproduced with rev <= 13964,
- not reproduced with rev >= 13968;
the regression seems to have been solved with r13966:
https://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/changes/13968

Revision 13966: Fix out-of-control render cache from dominating all available memory
https://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/13966/

Revision 13966 from trunk was already backported to the stable 0.91.x branch (for Inkscape 0.91.1):
http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_91_BRANCH/revision/13772

Changed in inkscape:
assignee: nobody → Liam P. White (inkscapebrony)
milestone: 0.92 → 0.91.1
status: Triaged → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
milestone: 0.91.1 → 0.92
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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