Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group