pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Retter <adam.ret...@googlemail.com>
Subject 2.0.0-RC2 ScratchFileBuffer not closed!
Date Wed, 02 Dec 2015 00:16:31 GMT
Hey guys,

Using either 2.0.0-RC1 or 2.0.0-RC2 I am seeing a lot of debug
messages which look like:

"ScratchFileBuffer not closed!"

When I trace this it appears that this is called by `finalize` being
called on the ScratchFileBuffer.

I am opening and closing my PDDocument by using try-with-resources, i.e.

try(final PDDocument doc = PDDocument.load(pdf.asFile)) {

As far as I can see I am not manually specifying any Scratch files,
are there any known issues with these not being correctly freed in

Cheers Adam.

Adam Retter

skype: adam.retter
tweet: adamretter

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

View raw message