axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <amilasuriarach...@gmail.com>
Subject Re: ServiceClient and memory leaks
Date Tue, 10 Feb 2009 04:56:54 GMT
On Tue, Feb 10, 2009 at 6:00 AM, Attharkar, Asmita
<aatthark@telcordia.com>wrote:

>  We are calling a web service client in the web service and see that there
> are huge memory leaks - finally resulting in OutOfMemoryException. We are
> deploying it on Jboss (jboss-4.0.3SP1).
>
> I do a serviceClient.cleanup() in the finally block after receiving the
> response but that doesnt help either. This seems to be existing issue in
> Axis2-1.4. If yes, what is the workaround for the cleanup. I am not using
> the generated stub instead I have my own code that calls ServiceClient code.
>

Please have a look at with the  Axis2  1.4.1. this should have been fixed.
The problem was not removing the endpoint references from the axis
configuration.

thanks,
Amila.

>
>
> Please treat this as urgent as the application is getting terminated
> because of outOfMemory error.
>
>
>
> Thanks!
>
>
>
>
>
> Thanks,
>
> Asmita
>
>
>
>
>  ------------------------------
>
> (Tel) 732-699-4657 | 4B566 | Telcordia Technologies | Piscataway NJ 08854
>
>
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Mime
View raw message