Stefan Nienhuis created CXF-9191:
------------------------------------

             Summary: EHCacheTokenStore resource leak
                 Key: CXF-9191
                 URL: https://issues.apache.org/jira/browse/CXF-9191
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 4.1.4, 4.0.9
            Reporter: Stefan Nienhuis


EHCacheTokenStore is not unregistered from the 
BusLifeCycleManager on close, causing it to never be collected by the GC. In 
our use case [Oxalis|[https://github.com/OxalisCommunity/oxalis-ng]], this 
causes a memory leak as an instance is created for every request. We're seeing 
linear increase in memory with requests on production.
 
Proposed fix: Unregister from the BusLifeCycleManager in close()



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to