[ https://issues.apache.org/jira/browse/CXF-9110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928128#comment-17928128 ]
Yury Molchan commented on CXF-9110: ----------------------------------- Hi [~reta], I have prepared [a pull request|https://github.com/apache/cxf/pull/2275] with the test to reproduce the issue and the fix. > 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.6.5, 4.0.6 > Reporter: Yury Molchan > Priority: Major > 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)