This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Nominatim Installation

0

Hi, I try to install nominatim server by this tutorial . My hardware Ubuntu 14.04, 32bit, 4gbram, 488gbmemory. But i have faced with this problem : osm2pgsql SVN version 0.89.0-dev (64bit id space)

Using projection SRS 4326 (Latlong) NOTICE: table "place" does not exist, skipping Allocating memory for sparse node cache Node-cache: cache=18000MB, maxblocks=0*2304000, allocation method=8192 Mid: loading persistent node cache from /home/agentmonitoring/Desktop/Nominatim-2.5.1/CONST_Osm2pgsql_Flatnode_File Failed to allocate space for node cache file: Internal error 22 Error occurred, cleaning up ERROR: Error executing external command: /home/agentmonitoring/Desktop/Nominatim-2.5.1/osm2pgsql/osm2pgsql --flat-nodes /home/agentmonitoring/Desktop/Nominatim-2.5.1/CONST_Osm2pgsql_Flatnode_File -lsc -O gazetteer --hstore --number-processes 1 -C 18000 -P 5432 -d nominatim /home/agentmonitoring/Desktop/planet-latest.osm.pbf Error executing external command: /home/agentmonitoring/Desktop/Nominatim-2.5.1/osm2pgsql/osm2pgsql --flat-nodes /home/agentmonitoring/Desktop/Nominatim-2.5.1/CONST_Osm2pgsql_Flatnode_File -lsc -O gazetteer --hstore --number-processes 1 -C 18000 -P 5432 -d nominatim /home/agentmonitoring/Desktop/planet-latest.osm.pbf

asked 19 Feb '17, 11:11

kilik94's gravatar image

kilik94
11112
accept rate: 0%


One Answer:

0

Your machine is underpowered. For the full planet 32GB RAM and 800GB disk space is recommended. https://wiki.openstreetmap.org/wiki/Nominatim/Installation#Hardware If you see further installation problems you can contact https://github.com/twain47/Nominatim/issues

answered 19 Feb '17, 14:09

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

I have same error when i try to install luxembourg.osb.pbf

(19 Feb '17, 14:13) kilik94

When you run the setup.php command with --osm2pgsql-cache 18000 it will try to allocate 18GB of RAM. You can try --osm2pgsql-cache 3000 or maybe 2000.

(19 Feb '17, 14:41) mtmail