Closed michaelwittmann closed 6 years ago
Thanks for the feedback. Osmosis is an external tool that is used in the setup and which I cannot tune that much. That means I have no hint to tune the memory footprint. However, Osmosis is very powerful and what you could do is to filer some road types (see http://wiki.openstreetmap.org/wiki/Key:highway) on that may be not so relevant for your use case. Still, I don't know if the filter process requires also large amounts of memory. So you could at least try that. For reference on how to filter with Osmosis, see: http://wiki.openstreetmap.org/wiki/Osmosis and as an example see https://github.com/bmwcarit/barefoot/blob/master/map/osm/import.sh#L64 Note you should make sure that the data is enough to build a connected graph that is suitable for routing, so don't filter primary roads and also no links but you could (maybe) filter residential or service roads which are both together 50% of the data. This means you have a road map of only major roads in the end.
First of all thanks a lot, youre doing a great Job! I managed to install and run the map server with small osm extracts like oberbayern or bayern. While importing bigger osm files I am struggeling with osmosis temp files, as they exceed the available disk size on my VM. Do you have any suggestions for a VM Setup(RAM, DiskSpace) running the matcher server with osm data for europe or ##more.