While binding a pdf file using Aspose i got a heap size error.here is the code the pdf file is 110MB, and consist of 60000 pages

PdfExtractor extractor = new PdfExtractor();
// bind input pDF file
extractor.bindPdf(this.filePath);

I increased the java heap size like follow -Xms512M -Xmx1024M but the error persist. Any suggestions?

有帮助吗?

解决方案

If the error comes on bindPdf() method, then there is no way anyone could figure out the issue. Just to make sure that it is heap related issue, try to increase the heap size further and see if it gets loaded with more memory.

Please post in Aspose.Pdf forums and report this problem.

I am a Developer Evangelist at Aspose.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top