pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PDFRenderer, PDDocument memory issue
Date Wed, 01 Jul 2015 14:52:31 GMT
Am 01.07.2015 um 10:16 schrieb Alex Sviridov:
> In my application I have real time memory graphs and they show that memory is very fast
filled.
> When there is no more free memory getPageThumbImage hangs - no exception, nothing. But
the code stops.
> When I do pdfDocument=null,pdfRenderer=null I get about 400mb free memory. How to solve
this problem?

If you're building from source, try this: in PDImageXObject.java, remove 
the line "cachedImage = image;". This will consume less space if you 
have large PDFs with many images.

Tilman



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message