You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Yury Molchan (Jira)" <ji...@apache.org> on 2025/03/10 07:34:00 UTC
[jira] [Closed] (CXF-9110) Memory leak in DelayedCleanerImpl.queue when LoggingFeature is enabled
[ https://issues.apache.org/jira/browse/CXF-9110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yury Molchan closed CXF-9110.
-----------------------------
Confirmed the fix is working on 3.6.6 and 4.1.1
> Memory leak in DelayedCleanerImpl.queue when LoggingFeature is enabled
> ----------------------------------------------------------------------
>
> Key: CXF-9110
> URL: https://issues.apache.org/jira/browse/CXF-9110
> Project: CXF
> Issue Type: Bug
> Components: Core, logging
> Affects Versions: 4.1.0, 3.5.10, 3.6.5, 4.0.6
> Reporter: Yury Molchan
> Priority: Major
> Fix For: 3.5.11, 3.6.6, 4.0.7, 4.1.1
>
> Attachments: image (12).png, image (13).png
>
>
> After migration from 3.6.4 to 3.6.5 (4.1.0) the memory leak appears due the DelayedCachedOutputStreamCleaner does not remove Streams from the DelayedCleanerImpl.queue.
> It happened after CXF-7396 because of the inequality between BufferedOutputStream and LoggingOutputStream instances in [the equals()|https://github.com/apache/cxf/blob/84a53f9c81fcbb87e0286c9e6df75853c09cd93b/core/src/main/java/org/apache/cxf/io/DelayedCachedOutputStreamCleaner.java#L170] method.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)