axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] [Updated] (AXIS-1765) Memory leak when setting server's service as global scope
Date Wed, 03 Oct 2012 16:56:08 GMT


Andreas Veithen updated AXIS-1765:

    Labels: memory-leak  (was: )
> Memory leak when setting server's service as global scope
> ---------------------------------------------------------
>                 Key: AXIS-1765
>                 URL:
>             Project: Axis
>          Issue Type: Bug
>          Components: Basic Architecture
>    Affects Versions: 1.2RC2
>         Environment: MS windows xp, sp2
>            Reporter: vd
>              Labels: memory-leak
> When setting the scope of my service to application, the client side will run out of
memory after 5-10 thousand hits. The service object on the server side is thread safe and
works with both application and request scope.  The server does not have any leak.
> To fix memory leak, inside the generated stub, I wrap the call with a try/catch/finally,
and in that, I put:
> _call.getMessageContext().getRequestMessage().getSOAPEnvelope().getRecorder().clear();
> This would clear out the memory and no more leak.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message