We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

OutOfMemoryException when converting a docx to PDF

Hi, we’re using Words.NET 15.5.0.0 to convert the attached file to PDF. While doing so we get an OutOfMemoryException (see stacktrace below). We have tried this on several machines with different setup with the same exception.


System.OutOfMemoryException: Out of memory.
at System.Drawing.TextureBrush…ctor(Image image, RectangleF dstRect, ImageAttributes imageAttr)
at Aspose.Words.Document.(Stream , String , SaveOptions )
at Aspose.Words.Document.Save(Stream stream, SaveOptions saveOptions)
at Aspose.Words.Document.Save(Stream stream, SaveFormat saveFormat)

Hi Lars,

Thanks for your inquiry. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-12346. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-12346) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.