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

Free Support Forum - aspose.com

RTF to PDF throws System.OutOfMemoryException using .NET


When can we expect a progress on this issue? Can we expect a commitment from Aspose on this issue? Our business will impacted if this issue gets stretched too much.



Currently, the issue (WORDSNET-19849) is under analysis phase. Once we complete the analysis of this issue, we will then be able to provide you an estimate.

It would be great if you please ZIP and attach your input document along with code example to reproduce your issue at our end. We will investigate your issue separately and provide you more information on it.


It is to inform you that the issue which you are facing is actually not a bug in Aspose.Words. So, we have closed this issue (WORDSNET-19849) as ‘Not a Bug’.

We suggest you please use SaveOptions.MemoryOptimization property to optimize the memory performance. Please set the value of this property to true as shown below to fix this issue.

Document doc = new Document(MyDir + "input.rtf");

SaveOptions saveOptions = SaveOptions.CreateSaveOptions(SaveFormat.Pdf);
saveOptions.MemoryOptimization = true;

doc.Save(ArtifactsDir + "output.pdf", saveOptions);