axis-java-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/AXIS-1765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen updated AXIS-1765:
----------------------------------

    Labels: memory-leak  (was: )
    
> Memory leak when setting server's service as global scope
> ---------------------------------------------------------
>
>                 Key: AXIS-1765
>                 URL: https://issues.apache.org/jira/browse/AXIS-1765
>             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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message