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

Free Support Forum - aspose.com

Getting out of memory of exception in multi-threading mode

Hi Team,

I am getting out of memory of exception when trying to save the multiple images into single pdf in C# Task parallel library. But when i run with only single task those are converting properly without any issue. Can you please give a solution for optimizing the memory during multi-threading? So that it will process successfully. I have seen some of the hint in blogs where there is a option of Memory optmizing in Save option of PDF.



Thanks for your inquiry. To ensure a timely and accurate response, please ZIP and attach the following resources here for testing:

  • Image file(s)
  • Please create a standalone simple console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing. Please do not include Aspose DLL files in it to reduce the file size.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.