Is there any guidance around the amount of memory needed to be able to process PDFs? We have a customer who has large PDF files and they are running into JVM heap errors.
Does the library load each PDF being merged into memory at the same time? So the memory needed would be the total of each piece and then enough for the one being generated?
Thanks
@douglasdallas
There is no such recommendations in order to set the Java Heap Size while using the API with large size documents. However, we recommend using maximum heap size as well as latest supported JDK version while processing large amount of files as well as large sizes of the files.
On the other hand, memory consumption cannot always be associated with the large size of the file. It may also depend upon the complexity and structure of the PDF document being processed.
You can please share you sample code and sample file for our reference to replicate the memory consumption issue and we will further investigate it accordingly.
PS. Please make sure to use the latest version of the API before sharing the requested information.