Unable to allocate enough memory when loading large SVG file

Bug #1366843 reported by Anonymous
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
High
Unassigned

Bug Description

trying to open the attached svg plot ends up with a crash, and the following report:
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
---------------------------

then a second window pops up:

---------------------------
GLib-ERROR **: gmem.c:202: failed to allocate 480 bytes
aborting...
---------------------------

I am also watching the processes on my Windows 7 professional / 64 bit PC, and Inkscape is consuming some how close to 1.9 Gigabytes of RAM. My Hardware is equipped with 8 GB in total.
InkScape version is Inkscape 0.48+devel r13487

Attachments: the original SVG file and a pdf of its content, named "demoplot.zip".

Looks, that the plot simply overloads the memory allocation routine somehow......
The svg-File "demoplot.svg" can be rendered in Firefox for example.

Revision history for this message
Anonymous (susi-8888) wrote :
Revision history for this message
Anonymous (susi-8888) wrote :

I just verified with InkScape 0.91pre1 compiled for win64: it can open the file without crash - memory allocation approx. 3.5 GB.
So my bug report becomes obsolete with the next upcoming stable release.

su_v (suv-lp)
tags: added: crash performance win32
Bryce Harrington (bryce)
summary: - unable to allocate enough memory
+ unable to allocate enough memory on win32
Revision history for this message
jazzynico (jazzynico) wrote : Re: unable to allocate enough memory on win32

Reproduced on Windows XP (32-bit), Inkscape trunk rev. 14968 (only 3Gio available).

Changed in inkscape:
importance: Undecided → High
status: New → Triaged
summary: - unable to allocate enough memory on win32
+ Unable to allocate enough memory when loading file
summary: - Unable to allocate enough memory when loading file
+ Unable to allocate enough memory when loading large file
jazzynico (jazzynico)
summary: - Unable to allocate enough memory when loading large file
+ Unable to allocate enough memory when loading large SVG file
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.