I have a long-running CXF SOAP connection to a physical device. Over time, I see the org.apache.cxf.ws.addressing.soap.MAPCodec object retaining heap. It appears that the ConcurrentHashpMap uncorrelatedExchanges is growing and the entries in the map are not being cleared. After only 12 hours of running, this map now contains almost 54,000 entries. Is there a way I can clear out the uncorrelatedExchanges? I am using CXF 3.4.0.
Thanks, David
Same here, the workaround is to use Weak keys in uncorrelatedExchanges... With https://guava.dev/