[OSM-talk] Error loading data with osm2pgsql
Jon Burgess
jburgess777 at googlemail.com
Thu Jul 9 23:27:43 BST 2009
On Thu, 2009-07-09 at 14:49 -0700, trossachs wrote:
> Hi,
>
> I've had the same type of error on the two occassions I've tried to load an
> osm file. The error is:
>
> Error allocating nodes.
> Error occurred, cleaning up.
>
> There is no data at all, loaded into the database.
>
> Does anyone know the cause of these errors and how to fix them?
It ran out of memory. How much RAM do you have and how much data are you
importing?
Normally you can work around memory issues by using the --slim option
but if you try and import too much data on an under powered machine then
the import may take a very long time.
Jon
More information about the talk
mailing list