[
https://issues.apache.org/jira/browse/PDFBOX-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sewwandi Wijayaratna updated PDFBOX-1687:
-----------------------------------------
Attachment: PDFBOX-1687.patch
A small patch according to the given suggestion.
Sewwandi
> add dispose() in pdfbox\pdmodel\PDPage.convertToImage()
> -------------------------------------------------------
>
> Key: PDFBOX-1687
> URL: https://issues.apache.org/jira/browse/PDFBOX-1687
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Priority: Trivial
> Attachments: PDFBOX-1687.patch
>
>
> I suggest to add these two lines at the end of
> pdfbox\pdmodel\PDPage.convertToImage()
> drawer.dispose();
> graphics.dispose();
> This would speed up cleanup after rendering. (Alternatively, delete the
> PageDrawer.dispose() function, because it is never used)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira