[OSM-dev] Osmium - Saving nodes to memory, so they are accessible when processing ways?

Jochen Topf jochen at remote.org
Tue Aug 30 08:22:12 BST 2011


On Mon, Aug 29, 2011 at 08:10:24PM +0200, Frederik Ramm wrote:
>    mmap uses a file but acts as if it were direct-access memory, so
> your system must have a large enough address space. This has nothing
> to do with the amount of physical memory.

And to clarify further: There are two different ways of using the mmap handler
for storing node locations: One uses RAM only (if you initialize it without a
filename), the other uses the disk as backing store (if initialized with a
filename).

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298




More information about the dev mailing list