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

Emmanuel Lecharny commented on DIRMINA-1081:
--------------------------------------------

Ok, in the heap you provided, we see that 2436 messages are stacked in the 
queue, and that correspond to the 1218 messages you are broadcasting.

Are you sure those messages are being read by the remote client ?

Also are you checking that the messages are being written (by checking the 
futures the {{broadcast}} call returns ?)

Note that you should *not* check the futures immediately after having called 
{{broadcast}}, that would block. Do so in a separate thread, or in the 
{{messageSent}} event in your handler.

> Increasing number of ConcurrentLinkedQueue$Node objects
> -------------------------------------------------------
>
>                 Key: DIRMINA-1081
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1081
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.16, 2.0.17
>            Reporter: Alexander B
>            Priority: Major
>         Attachments: heap.png, linkedqueuenodes.png, recorded live 
> allocations.png
>
>
> In a few issues i read, that some users detect a hugh number of 
> ConcurrentLinkedQueue$Node objects, which are actually not collected by GC. I 
> dont know if this behaviour is still an open bug, so i opened this new issue.
> Attached are two screenshot made by JProfiler. It seems, that the broadcast 
> method references these objects and does not deallocate them.
> In my point of view this behaviour was getting better by using version 2.0.17 
> instead of 2.0.16, but this behaviour still exists.
>  
> PS:  I am using Java 1.8.0_161b12 64bit
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to