Re: Fwd: Out of Memory on Reindex

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Chris Hoover <revoohc(at)gmail(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Fwd: Out of Memory on Reindex
Date: 2007-05-30 17:52:06
Message-ID: 465DB9C6.80301@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)gmail(dot)com <mailto:revoohc(at)gmail(dot)com>>
> Date: May 29, 2007 11:36 AM
> Subject: Out of Memory on Reindex
> To: "pgsql-admin(at)postgresql(dot)org <mailto:pgsql-admin(at)postgresql(dot)org>"
> <pgsql-admin(at)postgresql(dot)org <mailto:pgsql-admin(at)postgresql(dot)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/

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Fernando Ike de Oliveira 2007-05-30 19:42:08 High Avaliable in the PostgreSQL.
Previous Message Chris Hoover 2007-05-30 17:24:14 Fwd: Out of Memory on Reindex