Thanks Mark for the hint.

I'm actually using WebTest, which apparently uses pdfbox. So the question is, 
could WebTest add a PDDocument.close() in its pdf steps (if not already used)? 
Or how could WebTest be improved such that the pdf*tmp files are cleaned up?

Should I open a ticket for that?

Cheers,
Michael


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Mark Salter
Sent: Donnerstag, 30. September 2010 09:44
To: [email protected]
Subject: Re: [Webtest] pdfbox cluttering /tmp

On 30/09/2010 07:41, Michael Zwick wrote:
> I just noticed that WebTest (pdfbox) is cluttering my tmp directory with
> binary files like 'pdfbox6947317434535291116tmp'. Overall it saved about
> 100MB of it in a couple of months. Sure, I can use an ant task to
> clean-up with every WebTest run, but I wonder if there isn't a more
> intrinsic way (e.g. when using pdfbox) to make WebTest cleaning up itself.

This discussion found through google describes the problem and suggests
a cure...

http://our.umbraco.org/forum/developers/api-questions/3644-Windowstemp-folder-filling-up-with-pdfbox-files

pdfbox cleans it's temporary files up on PDDocument.close(), are you
calling pdfbox?  Could you add a call the PDDocument.close()?

-- 
Mark
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to