Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 7A873632AED for ; Mon, 16 Aug 2010 12:59:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 51656-03 for ; Mon, 16 Aug 2010 15:59:15 +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 627EA63275C for ; Mon, 16 Aug 2010 12:59:15 -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 o7GFxEQ6005924; Mon, 16 Aug 2010 11:59:14 -0400 (EDT) To: edoardo.innocenti@savinodelbene.com cc: pgsql-admin@postgresql.org Subject: Re: TopMemoryContext - Configuration Mistake? In-reply-to: <4C6932DF.90102@savinodelbene.com> References: <4C6932DF.90102@savinodelbene.com> Comments: In-reply-to Edoardo Innocenti message dated "Mon, 16 Aug 2010 14:45:19 +0200" Date: Mon, 16 Aug 2010 11:59:14 -0400 Message-ID: <5923.1281974354@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/115 X-Sequence-Number: 35364 Edoardo Innocenti writes: > I got the following error during a select query.
What was the query, what does EXPLAIN show as the plan for it, and which PG version is your server exactly? >   MessageContext: 2042626048 total in 256 blocks; 16072 free (7 > chunks); 2042609976 used
This looks like it could be a memory leak, but we'd need to be able to reproduce the problem in order to investigate or fix it. regards, tom lane