[ 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-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org