Memory Usage explosion (16gb) with not-so-large (248k) SVG
Bug #1544985 reported by
luispedro
This bug report is a duplicate of:
Bug #1533058: Fills >8G of RAM opening a small SVG file.
Edit
Remove
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.
To post a comment you must log in.
Thank you for taking the time to file this report.
Based on the default style in the provided SVG test case:
<defs
type="text/ css" linecap: butt;stroke- linejoin: round;stroke- miterlimit: 100000; }
id="defs4">
<style
id="style6">
*{stroke-
</style>
</defs>
this is a known issue reported before and already tracked in /bugs.launchpad .net/inkscape/ +bug/1533058
* Bug #1533058 “Fills >8G of RAM opening a small SVG file”
https:/
The trigger is the very high miter limit set by latest matplotlib as_default_ style for all stroked paths.