X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 7BBC49FA29B for ; Mon, 19 Jun 2006 22:13:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 23561-10 for ; Mon, 19 Jun 2006 22:13:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from new-mail.nec.com.cn (new-mail.nec.com.cn [211.100.22.21]) by postgresql.org (Postfix) with ESMTP id 430BB9F9F2D for ; Mon, 19 Jun 2006 22:13:35 -0300 (ADT) Received: from internal-mail.nec.com.cn ([172.28.88.254]) by new-mail.nec.com.cn with ESMTP id k5K1D8gx078140; Tue, 20 Jun 2006 09:13:08 +0800 (CST) (envelope-from zhaox@necas.nec.com.cn) Received: from mailsv.nec-as.nec.com.cn (localhost.localdomain [127.0.0.1]) by internal-mail.nec.com.cn (Postfix) with ESMTP id 05C86178008; Tue, 20 Jun 2006 09:30:08 +0800 (CST) Received: from [172.28.9.250] (jianglong.nece-as.nec.com.cn [172.28.9.250] (may be forged)) by mailsv.nec-as.nec.com.cn (8.11.6/8.11.6) with ESMTP id k5K1D8Q07434; Tue, 20 Jun 2006 09:13:08 +0800 Message-ID: <44974B60.9010309@necas.nec.com.cn> Date: Tue, 20 Jun 2006 09:12:00 +0800 From: zhaoxin User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hiroshi Inoue , pgsql-odbc@postgresql.org Subject: Re: Memory Leak ? References: <4487E76B.4000805@necas.nec.com.cn> <20060609112005.GD8153@soptik.pzkagis.cz> <448FF5A6.1060202@necas.nec.com.cn> <449082F3.60008@tpf.co.jp> <44913243.7030708@necas.nec.com.cn> <449159E6.4090200@tpf.co.jp> <449207DE.3090102@necas.nec.com.cn> <20060616080805.GA25182@soptik.pzkagis.cz> <449273D2.40200@necas.nec.com.cn> <20060616093255.GA26195@soptik.pzkagis.cz> <4492B843.2070806@necas.nec.com.cn> <4492BE73.6000707@necas.nec.com.cn> <449652C7.7080509@tpf.co.jp> <44965B99.2000708@necas.nec.com.cn> <44966789.6030501@tpf.co.jp> <44966E93.1020600@necas.nec.com.cn> <4496ACEC.6090001@tpf.co.jp> In-Reply-To: <4496ACEC.6090001@tpf.co.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MAIL: new-mail.nec.com.cn k5K1D8gx078140 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/144 X-Sequence-Number: 7892 >>> >>> Well what do you mean by *Memory Leak* ? >>> Does the memory usage grow while repeating the loop ? >>> >> yes , in my test , I found memory usage keep growing . >> > > How many bytes does it grow per the loop ? > I found it grows about 1k bytes per the loop. In my test , the prgram loop about 30-40 times in one minute , and I founded 30-40K growth in one minute . so , I think it leaks about 1k per the loop . is it right ? regards, zhao