Sometimes, I would say 1/5 launches, when loading document - it would take library about 5 minutes to build DOM model. Usually others 4/5 launches it takes 5 seconds to load document.
What I mean is that following line executes 5 minutes:
PresentationEx presentation = new PresentationEx(inputStream);
It doesn’t matter what file I load. Statistics remains the same.
During this time processor is loaded. See screenshot - it took 25% - one of CPU cores.
Hi Andrey,
I already use aspose.slides-6.9.0.jar
Find attached document - this is one of the documents that I use.
With the snippet below, I managed to reproduce the problem. I receive hanging issue sometimes when DOM is created for document, when it is passed as InputStream (not sure if that is what might be and indicator, since I do not use constructor, which requires fileName).
final String fileName = “test2.pptx”;
final String inputFileName = PATH_TO_FILES + fileName;
InputStream inputStream = new FileInputStream(inputFileName);
PresentationEx presentation = new PresentationEx(inputStream);
Windows 7 / jdk1.6.0_29
Hi Andrey,