Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 38B091E9AFB1 for ; Mon, 12 Dec 2011 07:51:06 -0400 (AST) Received: from mail.erwied.eu ([85.214.80.157]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ra4PR-0001Fj-VG for pgsql-bugs@postgresql.org; Mon, 12 Dec 2011 11:51:07 +0000 Received: from dslb-178-006-088-051.pools.arcor-ip.net ([178.6.88.51] helo=erwied.dyndns.org ident=nobody) by mail.erwied.eu with esmtpsa (Exim 4.76#1) id 1Ra4Os-00032d-6R for ; Mon, 12 Dec 2011 12:50:30 +0100 Received: from proxy.mbs-software.info ([87.234.32.189] helo=localhost) by erwied.dyndns.org with esmtpsa (Exim 4.77#2) id 1Ra4Op-0004R9-0W for ; Mon, 12 Dec 2011 12:50:27 +0100 Date: Mon, 12 Dec 2011 12:50:22 +0100 From: Jochen Erwied Organization: Creative Chaos Computing X-Priority: 3 (Normal) Message-ID: <7810315863.20111212125022@erwied.eu> To: pgsql-bugs@postgresql.org Subject: Re: Postgresql 9.1.2 - abnormal memory usage In-Reply-To: <4EE5E66F.5080508@enterprisedb.com> References: <396904450.20111211221529@erwied.eu> <201112120045.23211.andres@anarazel.de> <201112120145.42463.andres@anarazel.de> <27575.1323671190@sss.pgh.pa.us> <4EE5BB70.4090903@enterprisedb.com> <4EE5E273.8040201@beccati.com> <4EE5E66F.5080508@enterprisedb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201112/80 X-Sequence-Number: 31891 Monday, December 12, 2011, 12:33:03 PM you wrote: > On 12.12.2011 13:16, Matteo Beccati wrote: >> Just to clarify, am I correct assuming that the issue does not affect >> tables which have non-indexed inet fields? > Hmm, I think it might also affect queries that do large merge joins on > inet fields. Not sure about that. In any case, it's a memory leak that > gets cleared at the end of statement, so it can only become a problem > when dealing with large data sets. The second test case I originally sent uses inet-functions in a complicated query, and it also shows the described behaviour. So the problem is not limited to indexes, but also will appear in queries! -- Jochen Erwied | home: jochen@erwied.eu +49-208-38800-18, FAX: -19 Sauerbruchstr. 17 | work: joe@mbs-software.de +49-2151-7294-24, FAX: -50 D-45470 Muelheim | mobile: jochen.erwied@vodafone.de +49-173-5404164