[
https://issues.apache.org/jira/browse/PDFBOX-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16697767#comment-16697767
]
Tilman Hausherr commented on PDFBOX-4384:
-----------------------------------------
I've hard-coded it for max 10000 errors for now. Please test with a snapshot
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.13-SNAPSHOT/
and give feedback, to decide whether this is OK so (because IMHO a list of
10000 is really enough) or we really need to make this configurable somehow.
> PDF/A Document Validation out of memory
> ---------------------------------------
>
> Key: PDFBOX-4384
> URL: https://issues.apache.org/jira/browse/PDFBOX-4384
> Project: PDFBox
> Issue Type: Bug
> Components: Preflight
> Affects Versions: 2.0.8, 2.0.12
> Reporter: Vincenzo Mangiapanello
> Priority: Major
>
> Hi everyone,
> validating a customer PDF file, using
> {code:java}
> document.validate(){code}
> we recognise that if the file itself has an enormous numbers of validation
> errors, the process goes to OutOfMemory and at the end the we get the GC
> error.
> In our case the file has more than 550.000 errors. So we cannot go head with
> the conversion to PDF/A.
> To avoid this kind of error it could be useful to configure a max number of
> validation errors to stop the process if this value has been reached.
> We cannot attach the original document, because it is a customer's file.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]