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

Reply via email to