activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "art.licis" <>
Subject Re: memory leak
Date Wed, 17 Oct 2018 11:00:48 GMT

>From the side, it does look like pending messages accumulated in memory
because of a slow or blocked subscriber. Since you have heap dump, you
should look at this specific TopicSubscription object just to make sure you
don't have actually a consumer subscribed to some of your topics, but not
accepting messages (e.g., a consumer created but no listener attached).
Within TopicSubscription you'll have destination info, consumer info, and
some other useful data that could indicate the cause of your issue.

On a side note, it looks like you are using VM Cursor, which was the main
cursor type prior to version 5. It holds pending messages in memory, thus
can cause OOM. By default, 5.x would use Store cursor avoiding memory
issues. You can read more about it here:
.. and I would advise not using VM Cursor.

- Art

Sent from:

View raw message