Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 6A7C59FBB5D for ; Wed, 30 May 2007 14:51:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 65020-05 for ; Wed, 30 May 2007 14:51:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 8AFB99FB6F6 for ; Wed, 30 May 2007 14:51:20 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l4UHpJIp014849; Wed, 30 May 2007 10:51:19 -0700 Message-ID: <465DB9C6.80301@commandprompt.com> Date: Wed, 30 May 2007 10:52:06 -0700 From: "Joshua D. Drake" User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: Chris Hoover CC: "pgsql-admin@postgresql.org" Subject: Re: Fwd: Out of Memory on Reindex References: <1d219a6f0705290836h67b9509egc62498c78cf39829@mail.gmail.com> <1d219a6f0705301024p61aec66cv8b87adebfd4244a9@mail.gmail.com> In-Reply-To: <1d219a6f0705301024p61aec66cv8b87adebfd4244a9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Wed, 30 May 2007 10:51:20 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/317 X-Sequence-Number: 25637 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* > > Date: May 29, 2007 11:36 AM > Subject: Out of Memory on Reindex > To: "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/