Pathological SVG file could consume a lot less memory
Submitted by Andrea Canciani
Created attachment 166981 The SVG file triggering the problem (compressed)
Running the cairo test suite, I get any2ppm (the program used by the test suite to convert vector formats to raster images) using half a GB when converting the attached svg file. The log in attachment was generated by running the program in valgrind (I added the rsvg_term call right before the program termination to cleanup state).
Attachment 166981, "The SVG file triggering the problem (compressed)":