Search code examples
apache-tikatika-server

Apache TIKA - MediaDataBox iso files


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


Solution

  • 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