[OSM-dev] Osmosis crashing due to lack of memory

Emilie Laffray emilie.laffray at gmail.com
Thu Feb 26 20:10:10 GMT 2009


thanks for the information. I will be trying to run the query. I will
let you know the result.
I looked back at the wiki just to make sure this was not an oversight
from my part and I have seen that this parameter is not present on the
wiki page for Osmosis.
I am crossing my fingers. Else I will probably separate the file into
multiple file and then run the command on each of those files.

Emilie Laffray

Karl Newman wrote:
> (cc'ing to osmosis-dev)
> Clearly it's the ListIdTracker in the Used Node Filter task that is
> causing the problem. The ListIdTracker is good for smallish data sets,
> but for processing planet-wide data sets a BitSetIdTracker is more
> memory-efficient. So, try adding idTrackerType=BitSet to the
> --used-node task (i.e., java -Xmx1024m -jar
> e:\osmosis-0.30\osmosis.jar --read-xml file="planet-090218.osm"
> enableDateParsing="no" --log-progress interval="10" --way-key-value
> keyValueList="..." --used-node idTrackerType=BitSet --migrate
> --write-xml-0.6 file="E:\world\dump\roads\roads.osm"
> Karl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090226/cadbc13c/attachment.pgp>

More information about the dev mailing list