[ 
https://issues.apache.org/jira/browse/CXF-9110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927767#comment-17927767
 ] 

Andriy Redko commented on CXF-9110:
-----------------------------------

Thanks for the issue, [~yurkom]. Why do you think it causes memory leak? The 
delayed queue cleans everything up (with the delay), although there could be an 
issue with streams comparison, there should be no leaks.

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

Reply via email to