Hi guys, i have little doubt, I tried to find it out over google but I found conflicting opinions. I'm installing nominatim 2.3.1 following the wiki guide. For the map import I use the command:

./utils/setup.php --osm-file <map> --all --osm2pgsql-cache <x> 2>&1 | tee setup.log

Now I would like to know how to set the 'x' parameter. Someone said that I have to set it with the amount value of my machine RAM, other said to set it with half of my machine RAM. Still others say to set it with '18000' regardless the amoun of my RAM.

Please help me because I wouldn't make mistakes beacuse the process is damned long and I don't want to restart it again.

Thanks a lot Giacomo

asked 26 Oct '15, 14:16

giacomo-keybiz's gravatar image

giacomo-keybiz
33101013
accept rate: 0%


This appears to be poorly documented (what units is <x> measured in? for example)?

Based on my reading, the units are MB and you should tune the value to be ~ 2/3s of your available RAM on your system. You want to avoid swapping at all costs because it will slow things down.

permanent link

answered 04 Nov, 16:22

d%C3%B3nal's gravatar image

dónal
865
accept rate: 0%

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:

×513

question asked: 26 Oct '15, 14:16

question was seen: 1,823 times

last updated: 04 Nov, 16:22

powered by OSQA