Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 51B75152A2F4 for ; Fri, 27 Jul 2012 10:44:51 -0300 (ADT) Received: from mail-yx0-f174.google.com ([209.85.213.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SukqX-0000DP-7R for pgsql-bugs@postgresql.org; Fri, 27 Jul 2012 13:44:50 +0000 Received: by yenl2 with SMTP id l2so3163443yen.19 for ; Fri, 27 Jul 2012 06:44:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=jdaFTZkDtXpm4pqHg4v7vPe+2KfwwgD5YOkbabI6KmQ=; b=D9L36ssx3o3S0WfvP/Lnbor+GwZ/bdrH7oH+bvwp0b3JtvzZAJ1d4AEoIxu34Fvea2 SKneMOjNNkfAtzWIGseX6g/e4ie4DLLVXKXTPWBmkEeyyvUh3ORdhhBw/ws5X/uOVIYb HpS07sHTFq1c3wvhMSs4qnJ8ATL4f04WNsLWknzW2J/w+AavCHtSKVszrSNG8hcVgrMq nWtbenfjZaqkDhxs3sOu09dMw+EEkUiz3s+JFTDrWl1ISVn174Ws713pL5Nb/Sg19kkQ CkNeBYgjYHdie3gSjTR/n7SYSeT1Zcib0bu6YIHiFJGUsevEPl7bmp5yNAtuLkUNQvw6 qw5A== Received: by 10.68.236.168 with SMTP id uv8mr14546241pbc.25.1343396674548; Fri, 27 Jul 2012 06:44:34 -0700 (PDT) Received: from ayaki.localdomain (124-169-186-146.dyn.iinet.net.au. [124.169.186.146]) by mx.google.com with ESMTPS id oy8sm1941751pbc.52.2012.07.27.06.44.31 (version=SSLv3 cipher=OTHER); Fri, 27 Jul 2012 06:44:33 -0700 (PDT) Message-ID: <50129B3C.6010404@ringerc.id.au> Date: Fri, 27 Jul 2012 21:44:28 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: luben karavelov CC: Tom Lane , pgsql-bugs@postgresql.org Subject: Re: BUG #6763: Severe memory leak with arrays and hstore References: <5010FD0F.4020400@ringerc.id.au> <10398EEF-03DE-405E-B276-06F73ABF9E3A@mail.bg> <5011FD5D.3040503@ringerc.id.au> <5011FDEE.1010008@ringerc.id.au> <50120966.4030903@ringerc.id.au> <25326.1343368025@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmsxpBqPt5cVI2ilXn0x6IWSYiQ9G6qwbucG2ZhRST3BlE8QGcUtSjmZL2s/MRl5xbkXq44 X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/221 X-Sequence-Number: 33697 On 07/27/2012 07:52 PM, luben karavelov wrote: > > It's good that the bug is not in HEAD. I was testing on 9.1.4. So was I, and while I thought I'd reproduced it I now suspect I was just seeing shared_buffers touching. Are you able to produce a self-contained SQL test that demonstrates the leak? Does the test program I posted behave differently on your system? -- Craig Ringer