axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vy Ho <st946...@drexel.edu>
Subject Re: Axis memory leak
Date Fri, 14 Jan 2005 22:16:53 GMT
That does it.  The memory no longer go up.  The way I do it is inside 
the generated stub, I wrap the call with a try/catch/finally, and in 
that, I put your code below.  I am not sure if this is the best way of 
doing it. However, I am just testing.  I won't use this code though.

> In client-side stub code, look for the call object and try:
>
> Call.getMessageContext().getRequestMessage().getSOAPEnvelope().getRecorder().clear();

>
>
> -- 
> Lyndon Tiu



Mime
View raw message