Opened 8 years ago

Last modified 8 years ago

#3398 new enhancement

please add command line switch for custom temporary directory

Reported by: HaH Owned by: brett@…
Priority: major Milestone:
Component: osmosis Version:
Keywords: temp dir Cc:

Description

The current (0.38 in my case) osmosis completely ignores any TMPDIR, TMP_DIR or TEMPDIR environment variables and always uses /tmp. With some tasks osmosis fails because it runs out of diskspace on that partition.

Change History (1)

comment:1 Changed 8 years ago by frodrigo

For this you can use :
export JAVACMD_OPTIONS="-Djava.io.tmpdir=/home/fred/tmp"

Using of JAVACMD_OPTIONS is noted on osmosis run script and java.io.tmpdir is the default temp dit for java.

Maybe write about this on wiki.

Note: See TracTickets for help on using tickets.