pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Jason Lustig <lustig@brandeis.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: Autovacuum running out of memory
Date: Tue, 16 Oct 2007 13:23:12 +0100
Message-ID: <4714AD30.6000103@archonet.com> (raw)
In-Reply-To: <E8328FA1-800E-4684-93D2-A1002BB72396@brandeis.edu>
References: <374EB3D1-EE74-4B8C-9EEC-104ADD097568@brandeis.edu>
	<4714A458.5060408@archonet.com>
	<E8328FA1-800E-4684-93D2-A1002BB72396@brandeis.edu>

Jason Lustig wrote:
> There isn't any more error message than this... it simply repeats every 
> minute or so, which is really quite strange. And the user & db is really 
> blank in the log, I didn't trim it (if I did I would have replaced it 
> with dummy values).

Hmm - odd that you're not getting any connection details.

> I'm using pg 8.2.4 on Linux 2.6.15.

Fair enough.

>>> Oct 16 06:43:47 [2897]: [1-1]  user=,db= ERROR:  out of memory
>>> Oct 16 06:43:47 [2897]: [1-2]  user=,db= DETAIL:  Failed on request 
>>> of size 524287998.

Well, since this is about 500MB and your maintenance_work_mem is set to 
500MB that's the obvious place to start. It might just be that you've 
not got enough free memory.

What happens if you set maintenance_work_mem to say 50MB?

-- 
   Richard Huxton
   Archonet Ltd



view thread (22+ messages)  latest in thread

Message-ID: <4714AD30.6000103@archonet.com>
Permalink:  ../4714AD30.6000103@archonet.com/
Also on:    postgresql.org/message-id/4714AD30.6000103@archonet.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, lustig@brandeis.edu
  Subject: Re: Autovacuum running out of memory
  In-Reply-To: <4714AD30.6000103@archonet.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