High RAM memory utilization in using Aspose.Pdf.Document and Aspose.Pdf.Devices.TiffDevice.Process component while Conversion

Hi Team,

We are using Aspose.Pdf.Document(Stream, LoadOptions) to Opens an pdf from a stream and we are using Aspose.Pdf.Devices.TiffDevice.Process method converting pdf document (Aspose.Pdf.Document) pages into tiff and save it in the output stream. we are processing continuously pdf documents and it is consuming RAM memory and increasing on RAM memory usage and not getting released RAM memory. When application is idle means not converting PDF documents and if this application reaches 2.5 GB RAM it stop working.
Can you please help to release RAM memory and decrease RAM memory Utilization.
Aspose.PDF Version=19.9.0.0

Thanks,
Govardhana Reddy renati.

@C5134314

Please upgrade to the latest version of Aspose.PDF for .NET 22.7 and let us know how it goes on your side. Hope this helps you.

If you still face problem, please attach the following resources here for testing:

  • Your input PDF.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

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.

PS: To attach these resources, please zip and upload them.

Hi,
Thank you for the reply.
Ok. We will upgrade and check the performance. We are using Aspose.Pdf.Document and Aspose.Pdf.Devices.TiffDevice.Process components in our code. It takes MB while processing. After the completion if that part of code it doesnt release memory. It majorly happens on our production environment and not happens for a particular files. It gradually keeps on increasing memory and doesnt get released. At some point it consumes around 2GB and starts to fails. So please let us know general suggestions to release the memory for mentioned Aspose components/objects that we have used.

Thanks,
Govardhana Reddy renati.

@C5134314

Please share the requested resources here for testing. We will investigate the issue and provide you more information on it.