I have a 8G RAM and trying to split the Planet OSM files to multiple continents, countries and regions. It took more than 1 day to split the Planet OSM to continent based OSM files. To split the continent OSM bz2 files further to smaller countries is taking more time. For example, the split of Asia osm bz2 file has been running since 2 days. The max heap value set to JVM is 5G. Any suggestions to speed up Osmosis? Thanks Kris asked 25 Apr '12, 08:41 kris |
Never use bz2 with osmosis, it's a performance killer. Use pbf files if you can, and for your intermediate products (i.e. if the only reason you're making asia.osm.pbf is that you want to further split it in a second step) add the If you cannot use pbf files, at least use gz instead of bz2; if you really really have to use bz2, use an external program ( Generously use The fastest way to split a planet file into components is to use Peter Koerner's OSM history splitter instead of Osmosis. answered 25 Apr '12, 08:48 Frederik Ramm ♦ |