some way to flush ram

Bug #644257 reported by Loïc Alejandro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I have a not very complex object composed with 8 ellipses grouped
- I perform a reduce (or raise) the color ("teinte" in french) from the menu extensions > color
- I make a copy of the whole object and do the same on the copied object
- I do that 5 or 6 times. My intention is to have the same object with different colors
- after 5 or 6 times doing that, Inkscape refuses to perform the extension again, my computer is very slow, and Inkscape uses 1,5Go ram.
- I have to close inkscape and open the document again to continue working.

I suppose the problem comes from the fact that all is kept in memory to be able to perform ctrl-z.

Inkscape should flush ram or at least part of the ram in order to let people continue to work.

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Could you add information about your platform and Inkscape version?

tags: added: extensions-plugins performance
Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

Ups sorry.

Inkscape 0.47 r22583, built Apr 4 2010

Ubuntu 10.04 (lucid)
Linux 2.6.32-25-generic
gnome 2.30.2

Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced on Ubuntu 10.04, Inkscape 0.47 and 0.48.
After 10 copies (with changed hue), Inkscape uses only about 160 Mb, and is still responding correctly.

Could you please copy the content of Help>About Memory?

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

Could you please copy the content of Help>About Memory?

>>> when it is getting slow and doesn't want to perform the extension ? Or in normal state ?

Revision history for this message
jazzynico (jazzynico) wrote :

When it's getting slow, please.

Revision history for this message
Loïc Alejandro (loic-alejandro) wrote :

See attached file for memory.

I did the test with the svg file I uploaded in launchpad, and you are right, it works well.
But with my entire file (38Mo) that you can find here, it bugs : http://ubuntuone.com/p/H29/

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

When loading the SVG in Inkscape 0.48+devel r9772 on OS X 10.5.8 (2GB RAM), I get repeated console messages when just inspecting the file and unhiding/hiding the existing layers, without even trying to run an extension:

** (inkscape-bin:93274): WARNING **: GC Warning: Repeated allocation of very large block (appr. size 4739072):
 May lead to memory leak and poor performance.

The 28 MB SVG file has several embedded bitmaps on different (at current state hidden) layers-> memory issue possibly related to suspected memory leak when hiding/unhiding layers with embedded images?

Bug #597689 “Memory leak when showing/hiding embedded images.”:
<https://bugs.launchpad.net/inkscape/+bug/597689>

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.