On Tue, 30 Aug 2011, Jukka Zitting wrote:
Yes, I think you're right. I believe the problem here is the openContainer field within TikaInputStream where the container-aware type detection code stores the already opened container (in this case an NPOIFSFileSystem object) to avoid having to duplicate the parsing work. Unfortunately there's no mechanism (except garbage collection by the JVM) by which the container object gets properly disposed when it's no longer needed, and I believe this is what's preventing the underlying temporary files from getting reclaimed.

I thought we closed the open container when we closed the TikaInputStream though?

There certainly looks to be suitable code for doing that...

Nick

Reply via email to