Memory Usage explosion (16gb) with not-so-large (248k) SVG

Bug #1544985 reported by luispedro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned
inkscape (Ubuntu)
New
Undecided
Unassigned

Bug Description

On Inkscape 0.91 r13725 (ubuntu packaged), the attached SVG (which was originally created with matplotlib) causes inkscape to explode in memory usage, eventually thrashing so much that I have to kill the process (I have seen it go up to 16gb). If I limit inkscape to only 6GB, then it will eventually just crash.

Tags: performance
Revision history for this message
luispedro (luis-luispedro) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Thank you for taking the time to file this report.

Based on the default style in the provided SVG test case:

  <defs
     id="defs4">
    <style
       type="text/css"
       id="style6">
*{stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:100000;}
  </style>
  </defs>

this is a known issue reported before and already tracked in
* Bug #1533058 “Fills >8G of RAM opening a small SVG file”
  https://bugs.launchpad.net/inkscape/+bug/1533058

The trigger is the very high miter limit set by latest matplotlib as_default_ style for all stroked paths.

tags: removed: memory-usage
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.