Hi,
i have a dockerized spring boot application that i use as an API to convert various file formats (pdf, word, excel, images) to tiff.
I can connect inside the docker filesystem to create a heap dump file for the spring boot app process.
The heap dump file just after running the docker-compose up command, is about 700mb.
However, the heap dump files created while the pdf-to-tiff conversion process is in progress can reach the size of 1.9gb (i used a pdf file of 20-30 pages).
Is this expected when running a pdf to tiff converter?
If not, maybe i can send you the heap dump file to analyze it.
PS I would like to know if there are any clean-up methods that i should execute after the conversion is done. However, i need to know if these methods are thread safe because we are going to convert files in parallel by calling the spring boot endpoints