Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 45168 invoked from network); 15 Jun 2009 06:39:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jun 2009 06:39:21 -0000 Received: (qmail 82511 invoked by uid 500); 15 Jun 2009 06:39:31 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 82452 invoked by uid 500); 15 Jun 2009 06:39:31 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 82444 invoked by uid 99); 15 Jun 2009 06:39:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 06:39:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.249.95.37] (HELO mail.cruzio.com) (63.249.95.37) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 06:39:21 +0000 Received: from [192.168.0.105] (dsl-63-249-101-4.dhcp.cruzio.com [63.249.101.4]) by mail.cruzio.com with ESMTP id n5F6d09E087353 for ; Sun, 14 Jun 2009 23:39:00 -0700 (PDT) Message-Id: <4E7949DF-33A8-46C3-B752-644A51A93530@cruzio.com> From: Richard Yee To: "user-java@ibatis.apache.org" In-Reply-To: <24028799.post@talk.nabble.com> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5H11) Mime-Version: 1.0 (iPhone Mail 5H11) Subject: Re: Memeory leak in com.iBatis.sqlmap.engine.impl.SqlMapClientImpl class Date: Sun, 14 Jun 2009 23:38:58 -0700 References: <14105662.post@talk.nabble.com> <14146385.post@talk.nabble.com> <14164086.post@talk.nabble.com> <14175337.post@talk.nabble.com> <23996768.post@talk.nabble.com> <4A33663A.9050600@kaigrabfelder.de> <24010826.post@talk.nabble.com> <4A34BA9E.5060905@kaigrabfelder.de> <24020392.post@talk.nabble.com> <8014090A-857E-4911-983A-3C25DDE9C5F7@cruzio.com> <24028799.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Can you send you singleton code and your dao class code that calls it? Thx, R Sent from my iPhone On Jun 14, 2009, at 9:51 PM, ankurgur wrote: > > Hi Richard, > > No i aam not closing my reader at all !!. thats a bug you helped me > find:-)). > > But talking about memory leak i have the implementation of Reader > logic on > singelton pattern. So could it be such a major issue? > > Regards, > Ankur > > > Richard Yee wrote: >> >> Are you closing your reader in a finally clause? >> >> Richard >> >> Sent from my iPhone >> >> On Jun 14, 2009, at 3:39 AM, ankurgur wrote: >> >>> >>> Thnks Kai, >>> >>> Let me have a look at it. >>> >>> Regards, >>> Ankur >>> >>> >>> Kai Grabfelder-3 wrote: >>>> >>>> Hm I guess without some further information about your setup & >>>> environment >>>> it is hard to tell. imho there is >>>> only one known memory leak in 2.3.4 and that only affects >>>> redeployment of >>>> the app. Please describe your setup >>>> in more detail. >>>> >>>> I think you should have a look at the heap dump by yourself using >>>> for >>>> example eclipse MAT - a great tool for >>>> such tasks. With the heap dump you should be able to tell which >>>> classes >>>> are not garbage collected and which >>>> other classes are referencing them. >>>> >>>> cheers >>>> >>>> Kai >>>> >>>> >>>> >>>> --- Original Nachricht --- >>>> Absender: ankurgur >>>> Datum: 13.06.2009 11:51 >>>>> Hi Kai, >>>>> >>>>> Thanks a ton for the reply. Yes we already have the singleton >>>>> pattern >>>>> implementation for our sqlmap client :-((. >>>>> >>>>> Any other ideas are most welcome. >>>>> >>>>> Regards, >> >> > > -- > View this message in context: http://www.nabble.com/Memeory-leak-in-com.iBatis.sqlmap.engine.impl.SqlMapClientImpl-class-tp14105662p24028799.html > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. >