Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

please add command line switch for custom temporary directory #3398

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Open

Comments

@openstreetmap-trac
Copy link

Reporter: HaH
[Submitted to the original trac issue database at 1.06pm, Friday, 17th December 2010]

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.

@openstreetmap-trac
Copy link
Author

Author: frodrigo
[Added to the original trac issue at 10.33am, Wednesday, 5th January 2011]

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant