ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Yee <r...@cruzio.com>
Subject Re: Memeory leak in com.iBatis.sqlmap.engine.impl.SqlMapClientImpl class
Date Sun, 14 Jun 2009 21:04:21 GMT
Are you closing your reader in a finally clause?

Richard

Sent from my iPhone

On Jun 14, 2009, at 3:39 AM, ankurgur <ankur.gur@tcs.com> 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,

Mime
View raw message