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

Yifan Cai commented on CASSANDRA-14748:
---------------------------------------

I did a quick check. 

Memory leaks was observed in {{netty-all-4.0.39.Final}} as reported [in the 
issue|https://github.com/netty/netty/issues/5563]. The cause of the linked 
issue is that WeakOrderQueue not being collected fast enough and the fix is 
[here|https://github.com/netty/netty/pull/5569]. It looks very likely to the 
one described here. 

The first commit that has {{netty 4.0.39.Final}} is 
[2aa76632d61c60f1bc115289750fd594949ff98f|https://github.com/apache/cassandra/commit/2aa76632d61c60f1bc115289750fd594949ff98f].
 I can look deeper into it when get time. 

> Recycler$WeakOrderQueue occupies Heap
> -------------------------------------
>
>                 Key: CASSANDRA-14748
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14748
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Legacy/Core
>         Environment: The netty Cassandra using is netty-all-4.0.39.Final.jar
>            Reporter: HX
>            Priority: Normal
>             Fix For: 4.0, 3.11.x, 4.0-rc
>
>
> Heap constantly high on some of the nodes in the cluster, I dump the heap and 
> open it through Eclipse Memory Analyzer, looks like Recycler$WeakOrderQueue 
> occupies most of the heap. 
>  
> ||Package||Retained Heap||Retained Heap, %||# Top Dominators||
> |!/jira/icons/i5.gif! <all>|7,078,140,136|100.00%|379,627|
> |io|5,665,035,800|80.04%|13,306|
> |netty|5,665,035,800|80.04%|13,306|
> |util|5,568,107,344|78.67%|2,965|
> |Recycler$WeakOrderQueue|4,950,021,544|69.93%|2,169|



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to