Hi, On Fri, 18 Nov 2011 11:56:53 -0800 (PST) ThomasB <[email protected]> wrote: > not sure we are using the same script. With osmosis --read-pbf > file=/home/wicking/osm/germany.osm.pbf --write-xml file=- | perl > osm-length-2.pl > /dev/null > I am 15 minutes after the start at 14GB RAM usage and still > increasing.
Yes, the osm-length perl script wastes a lot of memory by keeping all nodes in a Perl hash. It would be relatively easy to write an efficient road length calculator based on the Osmium framework; that one should then work with a far smaller memory footprint. Bye Frederik _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

