From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Spiegelberg <gspiegelberg@cranel.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vacuum & Memory Exhausted error
Date: Tue, 17 Jun 2003 12:13:14 -0400
Message-ID: <13376.1055866394@sss.pgh.pa.us> (raw)
In-Reply-To: <3EEF26CC.9020102@cranel.com>
References: <3EEF26CC.9020102@cranel.com>
Greg Spiegelberg <gspiegelberg@cranel.com> writes:
> The problem is that the "VACUUM ANALYZE;" results in a
> ERROR: Memory exhausted in AllocSetAlloc(1048575996)
If you do VACUUM and ANALYZE separately, which part shows the failure?
(I'm betting on ANALYZE.) And have you narrowed down which table it
fails on? (Adding the VERBOSE option would let you track that.)
This looks to me like a data-corruption problem, specifically a bad
value of the length word in a variable-length field. (Adjacent data
is probably clobbered too, but the length problem is showing itself
first.) See previous threads in the archives for general advice about
tracking down broken rows and getting rid of them.
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, gspiegelberg@cranel.com
Subject: Re: Vacuum & Memory Exhausted error
In-Reply-To: <13376.1055866394@sss.pgh.pa.us>
References: <3EEF26CC.9020102@cranel.com> <13376.1055866394@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