Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 62565 invoked from network); 4 Dec 2007 08:20:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2007 08:20:29 -0000 Received: (qmail 22313 invoked by uid 500); 4 Dec 2007 08:20:16 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 22296 invoked by uid 500); 4 Dec 2007 08:20:16 -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 22285 invoked by uid 99); 4 Dec 2007 08:20:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 00:20:16 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 08:19:55 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IzT0Y-00014y-99 for user-java@ibatis.apache.org; Tue, 04 Dec 2007 00:19:58 -0800 Message-ID: <14146385.post@talk.nabble.com> Date: Tue, 4 Dec 2007 00:19:58 -0800 (PST) From: pns77 To: user-java@ibatis.apache.org Subject: Re: Memeory leak in com.iBatis.sqlmap.engine.impl.SqlMapClientImpl class In-Reply-To: <14105662.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: pnsrapuram@gmail.com References: <14105662.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I am also facing a similar issue with ibatis - we arrived at the conclusion after an analysis of heap dump. The following was the response that we got for a ticket we had raised with IBM. " ..Maximum heap was set to 1024m and almost 1000mb of heap is in use. Anlaysis of the heapdump shows the com/ibatis/sqlmap/engine/* code occupying most of heap(Nearly 900mb). .." There seems to be too many char[] (character array) objects that get created from com.iBatis.sqlmap.engine.impl.SqlMapClientImpl class. In our application side we had explcitly set the "daoManager" object reference to null so that it could be GC'ed. Still, we dont see any improvement. Would apprecitate if some one could suggest a solution. We use WebSphere 6 on AIX / ibatis accessing DB2 database. Thanks, P.N.Subramanian pooven wrote: > > We are using a iBatis 2.3.677 along with CrystalReport 11.8 ,Websphere > AppServer 6.0.23 and DB2 8.2 and Websphere Portal Server 5.1.0.4, in our > struts based portlet application. > > There are 183 reports we are using. > > We are facing the outOfMemory issue. After analysing the heapDump file > through the IBM HeapAnalyser we came to know that there is a memory > leakage around 8 MB in the > > com.iBatis.sqlmap.engine.impl.SqlMapClientImpl class, > > I called flushDataCache from the sqlMapper , still it is of no use. > > Can any one guide me in this regard. > > > Thanks, > P.Poovendran > -- View this message in context: http://www.nabble.com/Memeory-leak-in-com.iBatis.sqlmap.engine.impl.SqlMapClientImpl-class-tf4928332.html#a14146385 Sent from the iBATIS - User - Java mailing list archive at Nabble.com.