Hi we're seeing the following exceptions when converting a number of images. This seems to occur after time indicating a memory leak in the converter service. Please can you advise a way around this. Thanks.
System.Exception: System.Exception: Conversion failed ---> System.Exception: Error in loading the image ---> System.OutOfMemoryException: Out of memory. at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height) at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height) at System.Drawing.Bitmap..ctor(Image original) at ah.a(Object A_0, EventArgs A_1) --- End of inner exception stack trace --- at bc.b(ac A_0, ac A_1) --- End of inner exception stack trace --- at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions) at ceTe.DynamicPDF.Conversion.Program.a.b() at ceTe.DynamicPDF.Conversion.Program.a(Byte[] A_0) at ceTe.DynamicPDF.Conversion.Program.a(Object A_0) ---> System.Exception: System.Exception: Conversion failed ---> System.Exception: Error in loading the image ---> System.OutOfMemoryException: Out of memory. at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height) at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height) at System.Drawing.Bitmap..ctor(Image original) at ah.a(Object A_0, EventArgs A_1) --- End of inner exception stack trace --- at bc.b(ac A_0, ac A_1) --- End of inner exception stack trace --- at ceTe.DynamicPDF.Conversion.Converter.Convert(ConversionOptions conversionOptions) at ceTe.DynamicPDF.Conversion.Program.a.b() at ceTe.DynamicPDF.Conversion.Program.a(Byte[] A_0) at ceTe.DynamicPDF.Conversion.Program.a(Object A_0) at f.a(Object A_0) --- End of inner exception stack trace --- at ceTe.DynamicPDF.Conversion.Converter.Convert(String sourceFilePath, String outputFilePath, ConversionOptions conversionOptions) at ceTe.DynamicPDF.Conversion.Converter.Convert(String inputFilePath, ConversionOptions options, Byte[] appendToPdf)
OutOfMemoryException when converting images
Re: OutOfMemoryException when converting images
Support · Nov 6, 2012Hello,
If you are using an older build of Converter we suggest using the latest available build. We have recently released a new build of Converter on our website. You can download it from the customer area
by logging in with the product serial number. If you are evaluating the product you can download the latest build here
. The latest build (v1.0.0.21812) includes several bug fixes including a fix for memory leak in image conversion, version notes is available here
. When reinstalling the please follow the deployment instructions
.
If you are experiencing the memory leak and the out of memory exception even with the latest build, please email the following information to [^a|mailto:support@cete.com|opennewwindow|support@cete.com^] so we can look into it further.
1.Copies of some of the images that are being converted.
2.Code used to convert the images.
3.Name & Version of the operating system.
4.32-bit or 64-bit OS
Thanks,
ceTe Software Support Team.