Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 7D45A632749 for ; Thu, 5 Aug 2010 11:15:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 97715-02 for ; Thu, 5 Aug 2010 14:15:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id EC8B0632234 for ; Thu, 5 Aug 2010 11:15:24 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o75EFNmR000932; Thu, 5 Aug 2010 10:15:23 -0400 (EDT) To: "Kevin Grittner" cc: pgsql-admin@postgresql.org, "Silvio Brandani" Subject: Re: out of memory error In-reply-to: <4C5A7E630200002500034238@gw.wicourts.gov> References: <4C5AB62E.7020201@tech.sdb.it> <4C5A7E630200002500034238@gw.wicourts.gov> Comments: In-reply-to "Kevin Grittner" message dated "Thu, 05 Aug 2010 09:03:31 -0500" Date: Thu, 05 Aug 2010 10:15:23 -0400 Message-ID: <931.1281017723@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/19 X-Sequence-Number: 35268 "Kevin Grittner" writes: > Silvio Brandani wrote: >> a query on our production database give following errror: >> >> 2010-08-05 10:52:40 CEST [12106]: [278-1] ERROR: out of memory >> 2010-08-05 10:52:40 CEST [12106]: [279-1] DETAIL: Failed on >> request of size 48. > What query? On what OS? Is this a 32-bit or 64-bit build of > PostgreSQL? How long does it run before failing. What does memory > usage look like before and during the run? Also, out-of-memory should result in a memory usage map getting dumped to the postmaster log. That would be useful to see too. regards, tom lane