Out of memory on 5MB svg file opening

Bug #168738 reported by Bug Importer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Low
Unassigned

Bug Description

Ubuntu Fesity 7.04 - Inkscape 0.45

When trying to open/convert a 5MB svg file, Inkscape allocates 800MB of my
1GB memory, all 2.5GB swap and crashes with "out of memory" message.

For comparison eog (eye of the gnome) image viewer is successfully
opening/displaying the image using 300MB of memory.

Tags: crash linux
Revision history for this message
Bug Importer (bug-importer) wrote :
Revision history for this message
Momat-users (momat-users) wrote :

Originator: NO

Link to the image (generated with gnuplot):
http://tinyurl.com/2fz7yv

Revision history for this message
Ted Gould (ted) wrote :

EOG isn't really a good comparison in that it only has to store rendering information, and then deletes that information. Inkscape has to keep the data in memory.

Inkscape shouldn't crash, but I wouldn't expect it to open the file.

Also, could you please attach the file to this bug report? Thanks.

Changed in inkscape:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Tom Davidson (tjd-mit) wrote :
Revision history for this message
Tom Davidson (tjd-mit) wrote :

It opens here (3GB RAM, SVn rev 16978 Jan 7) without hitting swap, but there's not much to see, just the frame of a plot, and a few text labels. The red and green data points (visible under eog) are not plotted. Trying to export to PNG crashes inkscape. EOG indeed opens it in 300MB or so.

Revision history for this message
Beluga (buovjaga) wrote :

It opened, but very slowly on my desktop with 32GB memory and 6th gen Intel processor. It actually went outside and left Inkscape chugging.

I see the red and green data points!
Export to .png works very quickly without crashes.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15054 (GTK3)

Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

According to comment #5, it looks like a general performance issue rather than a specific issue with the file. As a result, closing.

Changed in inkscape:
status: Triaged → Invalid
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.