Re: Out of memory on SELECT (from sort?) in 8.3

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Matt Magoffin <postgresql(dot)org(at)msqr(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Out of memory on SELECT (from sort?) in 8.3
Date: 2008-09-15 12:53:26
Message-ID: 20080915125326.GA3798@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Matt Magoffin wrote:
> I have a SELECT query that causes an out-of-memory error on my production
> Postgres 8.3 server. I believe the culprit is from the sort in the query,
> but its running out on queries that return 300,000 results which I didn't
> think was very large.

It's not the sort. There's a memory leak in the system somewhere. Can
you post a reproducible test case? (If you can do it in the next couple
of days, there's a chance the fix will make it to 8.3.4).

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roberts, Jon 2008-09-15 13:25:53 Re: Oracle and Postgresql
Previous Message Oleg Bartunov 2008-09-15 12:06:30 Re: Postgresql Text Search