[OSM-dev] Osm2pgsql and failed planet import

Martijn van O kleptog at gmail.com
Tue Aug 30 18:43:13 BST 2011

On 30 August 2011 12:07, Frederik Ramm <frederik at remote.org> wrote:
> Hi,
> On 08/30/11 11:50, John Smith wrote:
>> osm2pgsql doesn't have any code to check for memory allocation
>> failures and to deal with it in a sane way
> The error message discussed here is not a segfault, but an out of memory
> condition reported by the PostgreSQL client library. It has nothing to do
> with osm2pgsql's own memory allocation.

This indicates the code should be changed to retrieve the data in
blocks using a cursor.

Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/

More information about the dev mailing list