Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YBvYv-0006yX-6Q for pgsql-general@arkaria.postgresql.org; Fri, 16 Jan 2015 01:18:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YBvYu-0008Um-Ky for pgsql-general@arkaria.postgresql.org; Fri, 16 Jan 2015 01:18:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YBvYt-0008Rp-0H for pgsql-general@postgresql.org; Fri, 16 Jan 2015 01:18:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YBvYp-0000Zt-RT for pgsql-general@postgresql.org; Fri, 16 Jan 2015 01:18:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t0G1Inw6003682; Thu, 15 Jan 2015 20:18:49 -0500 From: Tom Lane To: Enrico Bianchi cc: pgsql-general@postgresql.org Subject: Re: Out of Memory In-reply-to: <54B84A83.9020003@ymail.com> References: <54B84A83.9020003@ymail.com> Comments: In-reply-to Enrico Bianchi message dated "Fri, 16 Jan 2015 00:17:23 +0100" Date: Thu, 15 Jan 2015 20:18:49 -0500 Message-ID: <3681.1421371129@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Enrico Bianchi writes: > When I launch a query (the principal field is JSONb), the database > return this: > ERROR: out of memory > DETAIL: Failed on request of size 110558. That error should be associated with a memory usage map getting dumped to postmaster stderr, where hopefully your logging setup will catch it. Can we see the map? Even better would be a self-contained test case. Maybe you can generate some artificial data that produces the problem? regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general