Jon Burgess <jburgess777 <at> googlemail.com> writes: > > On Wed, 2009-02-04 at 15:27 +0000, Jukka Rahkonen wrote: > > Hi, > > > > I have been importing Finland.osm.bz2 dataset from Geofabrik into Postgis > > every > > day with osm2pgsql.exe (on Windows) but now it fails. The error looks like > > this: > > Reading in file: finland.osm.bz2 > > Processing: Node(2835k) Way(37k) Relation(0k)Error allocating ways > > Error occurred, cleaning up ........ > > These first two look like an out of memory condition causing malloc() to > fail.
Right, another computer with more memory imports the same data with same program versions. > > > I made a third trial by using another version of osm2pgsql.exe with Finnish > > data > > but again with no luck. A bit different error message though: > > Reading in file: finland.osm.bz2 > > Processing: Node(2835k) Way(194k) Relation(0k)terminate called after > > throwing an > > instance of 'geos::util::TopologyException' ... > > Normally the code catches exceptions from geos and ignores them. In some > builds of osm2pgsql.exe this mechanism is broken and a geometry > exception will instead cause the program to abort. It looks like this is > one of these broken versions. ... > This version of osm2pgsql.exe it should not have the exception problem: > http://tile.openstreetmap.org/direct/osm2pgsql.zip Right again, this one does not stop to topology errors. So no problem at all, the amount of data had just reached the limits of the first computer I used. _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

