简体   繁体   中英

Aspose java, Heap size error while binding pdf file

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM