Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0XOR-0006Ri-Vi for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Oct 2017 18:30:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e0XOR-0007qJ-Gx for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Oct 2017 18:30:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e0XOR-0007ps-4Z for pgsql-bugs@postgresql.org; Fri, 06 Oct 2017 18:30:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e0XOO-00041l-8v for pgsql-bugs@postgresql.org; Fri, 06 Oct 2017 18:30:37 +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 v96IUZh8001547; Fri, 6 Oct 2017 14:30:35 -0400 From: Tom Lane To: Lucas Fairchild-Madar cc: pgsql-bugs@postgresql.org Subject: Re: json(b)_array_elements use causes very large memory usage when also referencing entire json document In-reply-to: References: Comments: In-reply-to Lucas Fairchild-Madar message dated "Fri, 06 Oct 2017 11:26:35 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1545.1507314635.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 06 Oct 2017 14:30:35 -0400 Message-ID: <1546.1507314635@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Lucas Fairchild-Madar writes: > This might be related to or a duplicate of: BUG #14843: CREATE TABLE chur= ns > through all memory Yeah, sounds like it. Can you check if the just-committed patch fixes it? https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dcommitdiff;h=3D0c= 25e9652461c08b5caef259a6af27a38707e07a regards, tom lane --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs