[Tile-serving] [osm2pgsql] ERROR on Importing data into the database [Beginner] (#456)

SomeoneElseOSM notifications at github.com
Fri Oct 9 16:05:24 UTC 2015


You've got 2Gb memory and have specified a 16Gb cache, so it's 
confused.  It's trying to be helpful by saying "reduce --cache-size" 
(which is the parameter for which -C is the shortcut).

At 271Mb, Brazil in OSM terms is fairly small - it's less than the 
extract that I load into a virtual server with the same memory (2Gb) and 
less disk (20Gb) allocated.  I use " -C 1500" there (as opposed to your 
16000) and it works OK.  I also use "--number-processes 1" as I've only 
one CPU allocated to it.


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


More information about the Tile-serving mailing list