简体   繁体   English

Aspose Java,绑定pdf文件时堆大小错误

[英]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 当使用Aspose绑定pdf文件时,我得到了一个堆大小错误。这是pdf文件的代码,大小为110MB,由60000页组成

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. 我增加了Java堆大小,如:-Xms512M -Xmx1024M,但错误仍然存​​在。 Any suggestions? 有什么建议么?

If the error comes on bindPdf() method, then there is no way anyone could figure out the issue. 如果错误发生在bindPdf()方法上,则任何人都无法找出问题。 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. 请在Aspose.Pdf论坛中发布并报告此问题。

I am a Developer Evangelist at Aspose. 我是Aspose的开发人员布道者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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