[
https://issues.apache.org/jira/browse/CXF-9191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andriy Redko resolved CXF-9191.
-------------------------------
Resolution: Fixed
> EHCacheTokenStore / JCacheTokenStore 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.0.9, 4.1.4
> Reporter: Stefan Nienhuis
> Priority: Major
> Fix For: 4.1.5, 3.6.10, 4.0.11
>
>
> 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)