Re: Programming error: Out of Memory - Mailing list pgsql-general

From Tom Lane
Subject Re: Programming error: Out of Memory
Date
Msg-id 8047.1289947611@sss.pgh.pa.us
Whole thread Raw
In response to Programming error: Out of Memory  (Jorge Arévalo <jorge.arevalo@deimos-space.com>)
Responses Re: Programming error: Out of Memory  (Jorge Arévalo <jorge.arevalo@deimos-space.com>)
List pgsql-general
=?ISO-8859-1?Q?Jorge_Ar=E9valo?= <jorge.arevalo@deimos-space.com> writes:
> I'm getting an error message in my Python script:

> pg.ProgrammingError: ERROR:  out of memory
> DETAIL:  Failed on request of size 16.

That's pretty odd because the memory map you provided isn't showing any
particular signs of bloat.  I wonder whether either Python or PostGIS
is leaking memory directly (ie, through malloc calls, which wouldn't
show in the memory map).

Can you boil it down to a self-contained test case?

            regards, tom lane

pgsql-general by date:

Previous
From: Josh Berkus
Date:
Subject: Survey on backing up unlogged tables: help us with PostgreSQL development!
Next
From: Elliot Chance
Date:
Subject: Re: Postgres forums ... take 2