Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 9B7671337C45 for ; Fri, 8 Apr 2011 15:53:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 55802-01-6 for ; Fri, 8 Apr 2011 18:53:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id EC5C71337B93 for ; Fri, 8 Apr 2011 15:51:38 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1Q8GmQ-0003oY-Au for pgsql-general@postgresql.org; Fri, 08 Apr 2011 11:51:38 -0700 Date: Fri, 8 Apr 2011 11:51:38 -0700 (PDT) From: Shianmiin To: pgsql-general@postgresql.org Message-ID: <1302288698332-4291691.post@n5.nabble.com> In-Reply-To: References: <1302208932097-4289407.post@n5.nabble.com> <1302215437402-4289630.post@n5.nabble.com> <1302266587288-4290723.post@n5.nabble.com> <1302276600400-4291173.post@n5.nabble.com> Subject: Re: PostgreSQL backend process high memory usage issue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.767 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201104/334 X-Sequence-Number: 174690 No I didn't configured 1.5GB shared memory. For this test I recreated a database cluster and leave everything in the configuration as default. As in the original post, when the connection was first established, the memory usage of backend process showed in top was VIRT = 182MB, RES = 6240K, SHR=4648K while running pgbench memoryusagetest -c 1 -j 1 -T180 -f test.sql I saw the memory climb up rapidly to VIRT = 1661MB RES = 1.5GB SHR = 55MB once the tests is done, the process terminated and the memory returned to OS Samuel -- View this message in context: http://postgresql.1045698.n5.nabble.com/PostgreSQL-backend-process-high-memory-usage-issue-tp4289407p4291691.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.