This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How do I give Osmosis more temporary storage.

0

When I run osmosis my root partition gets filled up, and I have to delete files from /tmp, I have other partitions with more space available. I get this error message.

 Caused by: java.io.IOException: No space left on device

asked 05 Apr '11, 01:17

emj's gravatar image

emj
2.0k123547
accept rate: 15%


One Answer:

0

It seems you need to tell Java were to put the tmp files.

  JAVACMD_OPTIONS="-Djava.io.tmpdir=/mnt/planet/" osmosis --rx planet.osm 
                                                          --wx planet.osm

answered 05 Apr '11, 01:20

emj's gravatar image

emj
2.0k123547
accept rate: 15%

Source code available on GitHub .