[OSM-talk] Fwd: Help Planet.osm.bz2 import error.

John Smith deltafoxtrot256 at gmail.com
Thu Jul 14 01:32:27 BST 2011


On 14 July 2011 10:11, John Smith <deltafoxtrot256 at gmail.com> wrote:
> On 14 July 2011 00:49, Frederik Ramm <frederik at remote.org> wrote:
>> No. That patch is for "osm2pgsql-64" (with its support for 64bit IDs). Saphy
>> Mo is running a plain old (more than 12 months old) 32-bit-id osm2pgsql on a
>> Windows system.
>
> You yourself said that the 32bit version can crash if a way ends up in
> pending ways with nodes that have large ID numbers.
>

AFAIK there is nothing that prevents node IDs causing an out of memory
error, other than the fact that OSM for now has small ID numbers,
Anthony's patch just checks to see how much memory is available and
prevents osm2pgsql from using a memory cache if the memory is going to
be exceeded.



More information about the talk mailing list