pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: Angelo Nicolosi <amenuor@hotmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: OOM on large SELECT
Date: Thu, 17 Sep 2009 12:05:11 -0700
Message-ID: <4AB28867.5050105@hogranch.com> (raw)
In-Reply-To: <SNT114-W40D3163A83A1492EC3DB6A0E10@phx.gbl>
References: <SNT114-W4952152D7DBA88FD891FAFA0E20@phx.gbl>
	<4AB100D7.60805@opencloud.com>
	<SNT114-W97B54F73D70DF4C7BD81FA0E20@phx.gbl>
	<4AB112C3.1050809@hogranch.com>
	<SNT114-W40D3163A83A1492EC3DB6A0E10@phx.gbl>

Angelo Nicolosi wrote:
> Sorry for the delay of this answer but i was trying to figure out.
> However I saw that the memory that the postgres is using is getting 
> larger step by step.
> So it doesn't free it.
> After the third query it is already full and one of the thread of the 
> postgres is killed from the OOM.
> When the process is killed the program usually is going to call again 
> a stored function.
> By the way the info that you required me are:

I wonder if the work_mem settings in postgresql.conf are too large for 
this computer?   if you're not the postgres administrator, you'll need 
to work with them to identify this problem.

note, btw, 8.4.0 has been superceded by 8.4.1, with a lot of bug 
fixes.   painless inplace upgrade.







view thread (9+ messages)  latest in thread

Message-ID: <4AB28867.5050105@hogranch.com>
Permalink:  ../4AB28867.5050105@hogranch.com/
Also on:    postgresql.org/message-id/4AB28867.5050105@hogranch.com

 · 

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-jdbc@postgresql.org
  Cc: pierce@hogranch.com, amenuor@hotmail.com
  Subject: Re: OOM on large SELECT
  In-Reply-To: <4AB28867.5050105@hogranch.com>
  References: <SNT114-W4952152D7DBA88FD891FAFA0E20@phx.gbl> <4AB100D7.60805@opencloud.com> <SNT114-W97B54F73D70DF4C7BD81FA0E20@phx.gbl> <4AB112C3.1050809@hogranch.com> <SNT114-W40D3163A83A1492EC3DB6A0E10@phx.gbl> <4AB28867.5050105@hogranch.com>

* 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