質問

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