Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 680BA9FBA80 for ; Thu, 31 May 2007 11:43:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 39785-01 for ; Thu, 31 May 2007 11:42:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id EEE3C9FBA7A for ; Thu, 31 May 2007 11:42:58 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l4VEgu8x029388; Thu, 31 May 2007 10:42:56 -0400 (EDT) To: "Chris Hoover" cc: "pgsql-admin@postgresql.org" Subject: Re: Fwd: Out of Memory on Reindex In-reply-to: <1d219a6f0705310707i73292913rdccd98f591529776@mail.gmail.com> References: <1d219a6f0705290836h67b9509egc62498c78cf39829@mail.gmail.com> <1d219a6f0705301024p61aec66cv8b87adebfd4244a9@mail.gmail.com> <21900.1180562115@sss.pgh.pa.us> <1d219a6f0705310707i73292913rdccd98f591529776@mail.gmail.com> Comments: In-reply-to "Chris Hoover" message dated "Thu, 31 May 2007 10:07:14 -0400" Date: Thu, 31 May 2007 10:42:55 -0400 Message-ID: <29387.1180622575@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/331 X-Sequence-Number: 25651 "Chris Hoover" writes: > maintenance_work_mem = 1048576 (I have 9GB ram on this server). You might have that much RAM, but I wonder how much of it the kernel will give to any one process. Did you check the ulimit settings the postmaster is running under? Is it possibly a 32-bit rather than 64-bit build of Postgres? regards, tom lane