Apache TIKA - MediaDataBox iso files

341 Views Asked by At

It seems that Apacke Tika 1.24.1 is creating lots of /tmp/MediaDataBox ISO files, and my /tmp partition gets filled up.

What is MediaDataBox ISO file used for?

Can we somehow tell Tika to save it in another directory?

Tika runs in server mode as follows:

java -Xmx3G -jar tika-server.jar -spawnChild --host=hostname.domain.com

1

There are 1 best solutions below

0
On BEST ANSWER

This example shows how to save temporary files in an alternate directory:

java -Djava.io.tmpdir=/somewhere/tmp -jar tika-server.jar -spawnChild -JXmx3G -JDjava.io.tmpdir=/somewhere/tmp --host=hostname.domain.com

I found useful information in Tika Server docs