[ 
https://issues.apache.org/jira/browse/PDFBOX-1687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13824904#comment-13824904
 ] 

Andreas Lehmkühler commented on PDFBOX-1687:
--------------------------------------------

Added some dispose calls to the 1.8 branch based on these changes in revision 
1542768

> 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
>            Assignee: Andreas Lehmkühler
>            Priority: Trivial
>             Fix For: 1.8.3, 2.0.0
>
>         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 was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to