We run a cluster of servers which converts files on demand into G4 bitonal TIFF files. We use aspose.pdf PdfConverter.saveAsTIFF and then further process the tiff using aspose.imaging TiffImage.
- Operating system version
- Operating system architecture
- JDK type (Orcale, OpenJDK, IBM's JDK)
- JDK version
- Java Heap size (Min & Max)
Here is the code/algorithm we are using to convert the files:
Thanks for the details. This will certainly help. Can you please also share your .war file? We were not able to reproduce the issue without it.
I am unable to share the .war file - it won’t run outside of our environment. I can share pretty much any configuration if there is anything specific that would help.
The issues you mentioned are related to Aspose.Pdf and concerned team is investigating these issues. You will be updated as soon as our investigation is complete.
Sorry for the inconvenience.
TiffSettings tiffSettings1 = new
PdfConverter converter = new PdfConverter();
converter.saveAsTIFF("PDFtoTIFF.TIFF", 600, 800, tiffSettings1);
Furthermore, You can use MemoryCleaner object to clean the memory. After completing operations with Aspose.Pdf object, you can close object with close() or dispose() methods and finally use com.aspose.pdf.MemoryCleaner.clear() method. It clears Aspose.Pdf specific instances and hopefully will enables you to effective memory usage.