[Tile-serving] [osm2pgsql] 64 bit ids do not work (#23)
Rakesh Sukla
notifications at github.com
Wed Aug 12 16:36:22 UTC 2015
@lonvia @4x4falcon @lonvia I am sorry for tagging you all but I am running into the exact same error and not able to resolve it. I initially tried this by reducing the cache size to 512MB and then 256MB but it is the returning the same error.
Using projection SRS 4326 (Latlong)
NOTICE: table "place" does not exist, skipping
NOTICE: type "keyvalue" does not exist, skipping
NOTICE: type "wordscore" does not exist, skipping
NOTICE: type "stringlanguagetype" does not exist, skipping
NOTICE: type "keyvaluetype" does not exist, skipping
NOTICE: function get_connected_ways(pg_catalog.int4[]) does not exist, skipping
Allocating memory for dense node cache
Out of memory for node cache dense index, try using "--cache-strategy sparse" instead
Error occurred, cleaning up
ERROR: Error executing external command: /home/nominatim/Nominatim/osm2pgsql/osm2pgsql -lsc -O gazetteer --hstore -C 2048 -P 5432 -d nominatim /home/nominatim/data/latest.osm.pbf
and then I tried to use --cache-strategy sparse as you can see below but it is not working
~/Nominatim/utils/setup.php --osm-file data/latest.osm.pbf --all --osm2pgsql --cache-strategy sparse
I think I don't know how to use cache strategy sparse and I will really appreciate any help you can provide. I have also attached the error screenshot

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/23#issuecomment-130364416
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150812/9f44632a/attachment.html>
More information about the Tile-serving
mailing list