You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2025/12/17 12:25:00 UTC

[jira] [Updated] (CXF-9191) EHCacheTokenStore resource leak

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

Andriy Redko updated CXF-9191:
------------------------------
    Fix Version/s: 4.1.5
                   3.6.10
                   4.0.11

> 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.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)