From: marek at lewczuk.com (Marek Lewczuk) Date: Thu, 20 Apr 2006 07:59:38 +0200 Subject: [Pljava-dev] [SPAM] =\?utf\-8\?B\?UmU6IFJlOiBbU1BBTV0gUmU6IFBsamF2YVwtZGV2IERpZ2VzdCwgVm9sIDI2LCBJc3N1ZSA4\?= In-Reply-To: <20060420022258.DF52D973E7@smtp.263.net> References: <20060420022258.DF52D973E7@smtp.263.net> Message-ID: <4447234A.3080907@lewczuk.com> lifeng napisa?(a): > Marek Lewczuk,hi? > > Can you tell me when your connection is closed and how many times your main query is executed ? Connection is closed at the end of the whole function. The main query is executed only once. I wrote in my previous email that a memory leak is caused by specific part of the code - if that "buggy" code will be removed, then the whole function will work as it should. ML