Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 666CA6B2593 for ; Thu, 29 Dec 2011 18:42:22 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RgOfy-0004ej-Fp for pgsql-bugs@postgresql.org; Thu, 29 Dec 2011 22:42:23 +0000 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 pBTMg4VO029929; Thu, 29 Dec 2011 17:42:05 -0500 (EST) To: Merlin Moncure cc: havasvolgyi.otto@gmail.com, pgsql-bugs@postgresql.org Subject: Re: BUG #6365: Memory leak in insert and update In-reply-to: References: <27188.1325189417@sss.pgh.pa.us> Comments: In-reply-to Merlin Moncure message dated "Thu, 29 Dec 2011 15:49:56 -0600" Date: Thu, 29 Dec 2011 17:42:04 -0500 Message-ID: <29928.1325198524@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -3.2 (---) X-Archive-Number: 201112/247 X-Sequence-Number: 32058 Merlin Moncure writes: > On Thu, Dec 29, 2011 at 2:10 PM, Tom Lane wrote: >> I see no memory leak with this example. > This is by the way a FAQ: > http://wiki.postgresql.org/wiki/FAQ#Why_does_PostgreSQL_use_so_much_memory.3F Well, to be fair, the FAQ entry didn't mention this behavior of reported usage increasing over time. But it seems like a good place to document that, so I just added a paragraph about it. regards, tom lane