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

Daniel Kulp resolved CXF-6116.
------------------------------
       Resolution: Fixed
    Fix Version/s: 3.1.3

I believe this is either a duplicate of CXF-6590 or is strongly related to it.  
 If CXF-6590 doesn't fix this, a full test case will be required. 

> memory leak in web service client with WS Addressing feature
> ------------------------------------------------------------
>
>                 Key: CXF-6116
>                 URL: https://issues.apache.org/jira/browse/CXF-6116
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime, WS-* Components
>    Affects Versions: 3.0.2
>            Reporter: Levente Kiss
>              Labels: memory-leak
>             Fix For: 3.1.3
>
>         Attachments: heapdump_classes.PNG, heapdump_reference.PNG, 
> memory_usage.PNG
>
>
> The jax-ws web service client is causing serious memory leak if the 
> WS-Addressing feature is enabled.
> Relevant spring context configuration:
> {noformat}
> <jaxws:client id="wsClient"
>               serviceClass="com.example.WebService"
>               address="${service.url}" serviceName="s:WebService"
>               xmlns:s="http://ServiceContracts/2014/11/WebService";
>               endpointName="s:WebService" 
> bindingId="http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true";>
>       <jaxws:features>
>               <wsa:addressing xmlns:wsa="http://cxf.apache.org/ws/addressing"; 
> />
>       </jaxws:features>
> </jaxws:client>
> {noformat}
> Relevant spring managed client code:
> {noformat}
> @Autowired
> private WebService webServiceClient;
> private void callClient(){
>  webServiceClient.doSomething();
> }
> {noformat}
> Memory behavior and heap dump screenshots are attached.
> In case you need the heapdump file, please let me know.
> Thanks in advance!
> Levi



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to