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%


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

permanent link

answered 19 Feb '17, 14:09

mtmail's gravatar image

mtmail
2.6k644
accept rate: 26%

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×550
×537
×53

question asked: 19 Feb '17, 11:11

question was seen: 1,947 times

last updated: 09 Jun '17, 12:01

powered by OSQA