Hi,

Thank you for your answer. I will give it a try.

Kind regards, 
Lukas

-----Ursprüngliche Nachricht-----
Von: Tilman Hausherr <thaush...@t-online.de> 
Gesendet: Mittwoch, 14. August 2019 18:23
An: users@pdfbox.apache.org
Betreff: Re: Multithreaded PDF Rendering

Am 14.08.2019 um 16:36 schrieb STAMPF Lukas:
> Hello,
>
> After seemingly random errors, I stumbled upon 
> https://issues.apache.org/jira/browse/PDFBOX-4559<https://issues.apache.org/jira/browse/PDFBOX-4559?focusedCommentId=16865733&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16865733>
>  and wanted to ask: Is there any known workaround to calling 
> PDDocument.load() for each thread creating a PDFRenderer?


Sadly no. You could use the experimental branch that does parse on demand, but 
you'd have to build yourself.

https://svn.apache.org/repos/asf/pdfbox/branches/issue4569

Tilman


>
> I do image manipulation, Barcode detection and OCR and because it's too slow 
> to do it sequentially, I create a thread for each PDPage. Some documents I 
> work with are quite large, and loading the entire document for each  page 
> seems like a terrible thing to do.
>
> Kind regards,
> Lukas
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to