Its not currently possible to specify a temporary working directory other that /tmp/ for the GNU sort because of this section of code that clears all current environment variables before starting the process
As /tmp usually resides on a root partition which are typically small (20GB) in comparison to other mounted block devices, it would be useful to allow users to use another area.
Its not currently possible to specify a temporary working directory other that
/tmp/
for the GNU sort because of this section of code that clears all current environment variables before starting the processhttps://github.com/gbif/gbif-common/blob/master/src/main/java/org/gbif/utils/file/FileUtils.java#L825
This affects the loading of large DwCAs.
As
/tmp
usually resides on a root partition which are typically small (20GB) in comparison to other mounted block devices, it would be useful to allow users to use another area.