[Tile-serving] [osm2pgsql] 64 bit ids do not work (#23)

apmon notifications at github.com
Wed May 1 23:18:34 UTC 2013


It should be. But remember you are allocating a large array in memory with NUM_BLOCKS elements.

So if you set it to 64, you are creating a memory array of 2^54 elements, as each element is 24 Bytes, you are allocating an array of ~393216TB size! I am not sure your operating system will like that very much ;-)

If you want to use the full 64bit ID space, then it is going to be very sparse, so using --cache-strategy sparse is the appropriate option.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/23#issuecomment-17312329
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20130501/f4409e13/attachment.html>


More information about the Tile-serving mailing list