red6 / pdfcompare

A simple Java library to compare two PDF files
Apache License 2.0
220 stars 66 forks source link

If i compare two PDF with 139 pages, diffOutput PDf is not generated #35

Closed venkywarriors closed 6 years ago

venkywarriors commented 6 years ago

PDF which i have used is attached document (3).pdf using Pdfcompare version 1.1.33 & PDFbox 2.0.11, i have two questions what is the limit for the pages that can compare? what is limit for PDF size?

finsterwalder commented 6 years ago

There are no fixed limits. The only limit, that can happen is, that memory is running out. Pdf rendering can be very memory intensive. I try to cope with several strategies, as explained in the readme under "CompareResults with Overflow". Maybe you can monitor your memory consumption (e.g. using JVisualVM), while doing the compare and see what you find.

finsterwalder commented 6 years ago

I close this issue now, since there was no further request. Should you need further help, don't hesitate to reopen the ticket.