From: Joshua D. Drake <jd@commandprompt.com>
To: Chris Hoover <revoohc@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Fwd: Out of Memory on Reindex
Date: Wed, 30 May 2007 10:52:06 -0700
Message-ID: <465DB9C6.80301@commandprompt.com> (raw)
In-Reply-To: <1d219a6f0705301024p61aec66cv8b87adebfd4244a9@mail.gmail.com>
References: <1d219a6f0705290836h67b9509egc62498c78cf39829@mail.gmail.com>
<1d219a6f0705301024p61aec66cv8b87adebfd4244a9@mail.gmail.com>
Chris Hoover wrote:
> Any ideas?
Drop it and try to recreate it. As far as the parameter it is
maintenance_work_mem but that should spill to disk which means you ran
out of actual memory too.
Joshua D. Drake
P.S. You *need* to upgrade to 8.1.9
>
> ---------- Forwarded message ----------
> From: *Chris Hoover* <revoohc@gmail.com <mailto:revoohc@gmail.com>>
> Date: May 29, 2007 11:36 AM
> Subject: Out of Memory on Reindex
> To: "pgsql-admin@postgresql.org <mailto:pgsql-admin@postgresql.org>"
> <pgsql-admin@postgresql.org <mailto:pgsql-admin@postgresql.org>>
>
> I am getting the following error when trying to run a reindex on one of
> my databases.
>
> reindexdb: reindexing of database "xxx" failed: ERROR: out of memory
> DETAIL: Failed on request of size 268435456.
>
> Can someone advise on what memory parameter was violated? Are we
> looking at work_mem, shmmax, or something else?
>
> Thanks,
>
> Chris
>
> PG 8.1.3
>
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/
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-admin@postgresql.org
Cc: jd@commandprompt.com, revoohc@gmail.com
Subject: Re: Fwd: Out of Memory on Reindex
In-Reply-To: <465DB9C6.80301@commandprompt.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