Hello, we have a problem that occurs with some documents - BLUEPRINTS - when instantiating the object, ex:
Document doc = new com.aspose.pdf.Document.Document (InputStream);
In this point causes: JAVA HeapSpace.
At this point, the memory of the java is completely consumed, blocking the current process and the others as well.
This situation occurs with some specific documents, which were produced by iLovePdf or by PDFWritter.
I attached an example for simulation in https://drive.google.com/drive/folders/1IGSauTTAzk7Ih4yRcYcXdYg2OdPyyoXh?usp=sharing
I appreciate the help.