Memory consumed is not released and this is causing Performance issue.
Memory is not released after the completion of the operation. Itially we had heap space of 4GB, now even with 16GB its not enough. We are getting OutofMemory exception.
This is eventually bringing down the Tomcat server- where we have deployed this as a web application.
We are processing multiple types of files and displaying it as PDFs.
File types: docs, Excel, txt, msgs,dwg,pdf,ppt. First we are converting this to PDF then Add watermarks and display as PDF.
We are doing this using Java. Please help us to resolve this. Let us know if any other details are required.
@karthikmn,
Probably, you are using Aspsoe.Words to convert DOCX to PDF, Aspose.Cells to convert Excel files (XLS/XLSX) to PDF, Aspose.Email to convert Msgs to PDF, Aspose.Slides to convert PPT to PDF, etc. Then, you use Aspose.PDF to add watermarks and merge PDFs. Is not it? Could you please give more details on where (in which process/step), the issue (OutOfMemory) is occurring, give us complete stacktrace? Also, specify which Aspose API is causing this issue? Moreover, share sample files/documents and sample project/code to reproduce the issue on our end. We will evaluate your issue and try to figure it out soon.
Hello Amjad,
Thanks for you response. Yes, we are using same sequence as you mentioned. So far, we have seen this issue when adding watermarks.
Will try to provide the code/project soon.
@karthikmn
Please take your time and provide sample project for our reference. Also, please make sure to use the latest available version of the APIs before sharing the sample project.