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- [email protected]
                 415.558.1610




_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk

Reply via email to