[OSM-talk] Error loading data with osm2pgsql

trossachs johnsmithweb at sky.com
Fri Jul 10 21:32:11 BST 2009


Ah. Thanks. The error message was a bit "general".
I was trying to import the UK osm and I'm running an Intel Core 2 Quad with
4Gb of RAM.

I tried a small osm file (1.7Mb zipped) and it loaded ok.
I re-tried with the uk osm file using the --slim option but it now says that
--slim is not an option
I'm using osm2pgsql_latest.exe

I retried it with osm2pgsql and the -s option but it fell over with an
AddGeometryColumns() - invalid SRID error.


Jon Burgess-2 wrote:
> 
> 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
> 
> 
> 
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-loading-data-with-osm2pgsql-tp24418427p24434009.html
Sent from the OpenStreetMap - General mailing list archive at Nabble.com.





More information about the talk mailing list