You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by jimbogithub <gi...@git.apache.org> on 2016/01/01 14:48:55 UTC

[GitHub] activemq-artemis pull request:

Github user jimbogithub commented on the pull request:

    https://github.com/apache/activemq-artemis/commit/b1b4bb8a32a9bb9c6d951f3d0fdd3626944319f9#commitcomment-15226459
  
    In artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnection.java:
    In artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnection.java on line 105:
    There is no client blockage that I'm aware of.  All messages are being delivered.  This `isWritable` method is being called for every message and always adds the listener to the readyListeners queue.  See the call-stack below.  Note that `ready` is `true`, there are `availableCredits` and as indicated by the value of `acks`, messages are being delivered.  The problem is simply that the `ReadyListener callback` (`ServerConsumerImpl (id=285)`) is being appended to the `ConcurrentLinkedDeque<ReadyListener> readyListeners` again for each and every message being sent.
    
    ![memleakcallstack](https://cloud.githubusercontent.com/assets/5095954/12071004/72989572-b08c-11e5-9da1-bf0d936986fa.png)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---