Tilman Hausherr created PDFBOX-1687:
---------------------------------------

             Summary: 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


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

Reply via email to