Bjørn Hilstad created CXF-6590:
----------------------------------
Summary: MAPCodec: memory leak with sync client when soapfaults
returned from endpoint
Key: CXF-6590
URL: https://issues.apache.org/jira/browse/CXF-6590
Project: CXF
Issue Type: Bug
Components: WS-* Components
Affects Versions: 3.0.6
Environment: CXF 3.0.6, JDK 1.7
Reporter: Bjørn Hilstad
This bug is similar to CXF-2591 but relates to sync clients.
A simple client using a service with WS-Addressing which makes repeated calls
to a service that returns a soapfault will cause a build up of objects in
MAPCodec::uncorrelatedExchanges.
The real use case is an application using Apache Camel to keep invoking a
service that returns a fault (for instance wsa:DestinationUnreachable) using
the built in redelivery-functions of Apache Camel.
A simple CXF client that reproduces the issue has been created. The client just
invokes a service in a loop and by observing the used memory (jconsole) and
performing memory dumps which can be analyzed using MAT, you can see the issue.
A standalone wiremock functions as the endpoint.
The reproducers will be attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)