pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bertrand Petit <pgsql@phoe.frmug.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: 7.4 beta 1 getting out of swap
Date: Thu, 14 Aug 2003 11:18:42 -0400
Message-ID: <1578.1060874322@sss.pgh.pa.us> (raw)
In-Reply-To: <20030814165311.A4431@memo.frmug.org>
References: <20030814122130.A3583@memo.frmug.org>
	<15589.1060861546@sss.pgh.pa.us>
	<20030814165311.A4431@memo.frmug.org>

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



view thread (9+ messages)  latest in thread

Message-ID: <1578.1060874322@sss.pgh.pa.us>
Permalink:  ../1578.1060874322@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1578.1060874322@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql@phoe.frmug.org
  Subject: Re: 7.4 beta 1 getting out of swap
  In-Reply-To: <1578.1060874322@sss.pgh.pa.us>
  References: <20030814122130.A3583@memo.frmug.org> <15589.1060861546@sss.pgh.pa.us> <20030814165311.A4431@memo.frmug.org> <1578.1060874322@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox