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: High consunpton memory to view
Date Wed, 09 Aug 2017 17:08:23 GMT
Please be aware that memory consumption doesn't mean anything if you're 
not getting an out of memory exception.

PDFBox does a lot of "soft" / "weak" caching to speed up things. These 
resources are released when memory is needed.

I suggest you set a -Xmx value and then test whether your files files 
work or not.


Am 09.08.2017 um 14:13 schrieb Tretonio Tretis:
> High memory consumption for viewing using
> PDFRenderer renderer = new PDFRenderer (document);
> BufferedImage pageImage = renderer.renderImage (pageNumber, 1.3f);
> In a pdf example 450 pages, every time I go displaying a new page the
> memory is growing.
> I'm trying to render using javaFX, and apparently it's using less memory
> than awt.
> What do you guys think of this, suggest something to optimize memory
> consumption?
> Thank you

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

View raw message