Bertrand Petit <pgsql@phoe.frmug.org> writes:
> On Thu, Aug 14, 2003 at 07:45:46AM -0400, Tom Lane wrote:
>> Please show us the memory context size info that the backend dumps to
>> stderr when it reports "out of memory".
> Here it is:
> ExecutorState: 4556232 total in 46 blocks; 3183264 free (8303 chunks); 1372968 used
That seems a bit large, but I'm not sure if it's really to worry about.
> ExecutorState: 528474112 total in 72 blocks; 760 free (1 chunks); 528473352 used
Okay, you definitely must have a memory leak in query execution.
Could you provide enough info to let someone else reproduce it? We
don't need your data, but a schema dump (pg_dump -s) would be nice
to avoid trying to guess what causes it.
regards, tom lane