It turns out Java completely ignores the TMPDIR environment variable. Instead, it's hardcoded to use /tmp as the temporary drive (argh!). If /tmp is small, there's a great risk for filling it up, especially so if there are multiple Java processes running on the same machine.
Solution
Make sure to use the following everywhere we use Java in the LG3 pipeline:
Issue
It turns out Java completely ignores the
TMPDIR
environment variable. Instead, it's hardcoded to use/tmp
as the temporary drive (argh!). If/tmp
is small, there's a great risk for filling it up, especially so if there are multiple Java processes running on the same machine.Solution
Make sure to use the following everywhere we use Java in the LG3 pipeline: