[osmosis-dev] Osmosis Java heap space

Brett Henderson brett at bretth.com
Thu Oct 25 12:32:33 BST 2012


Hi Uli,

On 25 October 2012 19:11, Uli Strötz <ustroetz at gmail.com> wrote:

> Hi Brett,
>
> that is what I typed and get back:
>
> C:\Users\u.stoertz\Downloads\s\osmosis-0.41\bin>osmosis --rx 1.osm.bz2
> --tf acce
> pt-nodes addr:housenumber=* --tf reject-relations --un --wx
>  1_nodes.osm.bz2
>
> Can you try modifying the command line as follows?
osmosis --rx 1.osm.bz2 --tf accept-nodes addr:housenumber=* --tf
reject-relations --un *idTrackerType=Dynamic* --wx  1_nodes.osm.bz2

Note the addition of "*idTrackerType=Dynamic*".  This will tell the
--used-node task to use a more memory efficient id tracking
implementation.  Hopefully it will resolve your issue.

I'm about to commit a change to make Dynamic the default.  Other tasks such
as --bounding-box already use Dynamic, but the --used-node and --used-way
tasks had been missed.

Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20121025/46fdf28d/attachment.html>


More information about the osmosis-dev mailing list