Re: Fwd: Out of Memory on Reindex

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 21:55:15
Message-ID: 21900.1180562115@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Chris Hoover" <revoohc(at)gmail(dot)com> writes:
> 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?

Kernel's process size limit (ulimit -m or something like that).

What have you got maintenance_work_mem set to ... 256MB by any chance?
If so make it less.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Adam Tauno Williams 2007-05-30 22:12:02 Re: High Avaliable in the PostgreSQL.
Previous Message Alvaro Herrera 2007-05-30 21:23:27 Re: pg_dump: Error message from server: ERROR: compressed data is corrupt