[
https://issues.apache.org/jira/browse/PDFBOX-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324748#comment-14324748
]
Tilman Hausherr commented on PDFBOX-2688:
-----------------------------------------
Please include your version number. And do you close your PDDocument object? It
would be useful to include a minimal servlet as well.
> sun.java2d.Disposer leak when using pdf to image conversion in a
> server(tomcat)
> -------------------------------------------------------------------------------
>
> Key: PDFBOX-2688
> URL: https://issues.apache.org/jira/browse/PDFBOX-2688
> Project: PDFBox
> Issue Type: Bug
> Reporter: Ankit Khanal
>
> I am running with 6GB of heap space and running PDF to PNG conversion in a
> servlet container(tomcat). This happens only when running thousands of
> requests for conversion.
> JVM memory statistics shows heap space never going above 1GB and non-heap
> memory is also constant but the linux process or windows process seems to
> consume around 8GB of memory.
> Heap dump shows that the largest object is sun.java2d.Disposer and is around
> 200MB.
> It seems that the leaked memory is native memory used by java2d and not
> accounted in the heap memory statistic but this growth of sun.java2d.Disposer
> memory is proportional to the growth of process memory(linux 'top' command).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]