[OSM-talk] Osmosis heap space, tuning not working
Michal Migurski
mike at stamen.com
Sat Oct 6 22:00:02 BST 2012
I'm running Osmosis on a complete recent planet, and seeing memory errors.
My ~/.osmosis file looks like this:
JAVACMD_OPTIONS=-server
JAVACMD_OPTIONS=-Xmx16G
…based on advice from http://wiki.openstreetmap.org/wiki/Osmosis/Tuning. 16GB is half the RAM in this 64 bit machine.
Here's the error where it blows up:
SEVERE: Thread for task 1-rb failed
java.lang.OutOfMemoryError: Java heap space
This is the command I'm running:
osmosis --rb planet-120920.osm.pbf \
--log-progress --tf accept-ways 'highway=*' --tf accept-relations 'network=*' --used-node \
--tp user=osm database=planet_osm \
--wp user=osm database=planet_osm
According to the progress log I get all the way through the relations before it fails. There's not other giant processes running. What is going on?
-mike.
----------------------------------------------------------------
michal migurski- mike at stamen.com
415.558.1610
More information about the talk
mailing list