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

osm2pgsql planet import killed

0

Hello,

I'm attempting to perform a full planet import on a server with the following specs: 34Gb Ram 600Gb HDD 2 Dual Core Proccessors

However after starting the input when I come back the next day I find that after the nodes have been processed, and partway through the ways being processed the operation is killed due to OOM.

The import command I'm using is as follows: osm2pgsql --flat-nodes --slim --cache 32000 --number-processes 4 /location/of/planet/file.osm.bz2

I would have thought that there were plenty of resources available on the system to accommodate this operation, is there something incorrect with the import command?

asked 03 Aug '16, 07:47

ChrisMc84's gravatar image

ChrisMc84
11112
accept rate: 0%

Source code available on GitHub .