[
https://issues.apache.org/jira/browse/PDFBOX-3762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974751#comment-15974751
]
Darren Thompson commented on PDFBOX-3762:
-----------------------------------------
Using current version 121 had same issue
Setting -Xmx to 2g allowed the PDF to render successfully
I did not think to try raising the max heap because I never saw it fully used
when monitoring in JAVA VisualVM
Also find it odd I never got an out of memory exception of some kind (got no
exception)
> Thread crash on pdfRenderer.renderImageWithDPI
> ----------------------------------------------
>
> Key: PDFBOX-3762
> URL: https://issues.apache.org/jira/browse/PDFBOX-3762
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.5, 3.0.0
> Environment: Windows Server 2012 64 bit, jdk1.8.0_102
> Reporter: Darren Thompson
> Attachments: TMP72CD_page1.pdf
>
>
> When pdfRenderer.renderImageWithDPI is called on the attached PDF the thread
> comes to a halt. No error is thrown. By adding debug logs to the pdfbox code
> I was able to determine the crash happens in PageDrawer.drawBufferedImage at
> the line:
> graphics.drawImage(image, imageTransform, null);
> I am not able to reproduce this issue on a Windows 8 64 bit machine but
> confirmed it happens on two different Windows 2012 machines.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]