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.