[postgis-users] osm2pgsql error, out of memory, though i use -s

Torsten Mohr tmohr at s.netic.de
Thu Dec 2 12:29:09 PST 2010


Hello,

> I suggest that you ask on one of the OpenStreetMap lists (osm-talk or
> osm-dev) as people there will be more familiar with osm2pgsql.

correct, i did not think of this.  Next discussions i'll put there.

> You will have to start over. Some information on osm2pgsql performance
> can be found here:
> http://www.geofabrik.de/media/2010-07-10-rendering-toolchain-performance.pd
> f but the bottom line is, more memory (along with a proper setting of -C as
> has been suggested already) will definitely help.

Thanks for that hint.  I have changed the command line to use more cache with 
-C 4000.  This is just a guess, i hope it works.

I imported other OSM planet files before and never got that error.  It seems 
it is purely related to the amount of data?


Thanks for all the hints i got on this list,
Torsten.



More information about the postgis-users mailing list