System.OutOfMemoryException: Out of memory

Mar 14, 2013 at 4:40 PM
Edited Mar 15, 2013 at 1:30 PM
Hi - I am getting a System.OutOfMemoryException: Out of memory error when calling Draw(). Under certain circumstances it works fine, but when the svg changes, I sometimes get the error.

var svgDocument = SvgDocument.Open(s);
var bitmap = svgDocument.Draw(); // out of memory error

I am using version 0.5.2.0 as provided on the Downloads page (http://svg.codeplex.com/downloads/get/47881).