You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Anton Roskvist (Jira)" <ji...@apache.org> on 2022/01/14 15:35:00 UTC
[jira] [Created] (ARTEMIS-3647) rolledbackMessageRefs can grow until OOM for OpenWre clients
Anton Roskvist created ARTEMIS-3647:
---------------------------------------
Summary: rolledbackMessageRefs can grow until OOM for OpenWre clients
Key: ARTEMIS-3647
URL: https://issues.apache.org/jira/browse/ARTEMIS-3647
Project: ActiveMQ Artemis
Issue Type: Bug
Reporter: Anton Roskvist
{color:#1d1c1d}In my use case I have quite a few long lived OpenWire consumers. I noticed that over time the heap usage increases. Looking through a heap dump, I found that memory is held in "rolledbackMessageRefs". In one case holding as much as 1.6GB of data with 0 messages on queue.
Disconnecting the consumer and then reconnecting released the memory.
Clients are running Spring with transactions. The clients affected by this have some small issue receiving messages such that some of them are retried a couple of times before getting processed properly.
I suspect that "{color:#1d1c1d}rolledbackMessageRefs"{color} are not getting cleared with the message ref once it's finally processed for some reason.
{color:#1d1c1d} I have not found a way to reproduce this yet and it happens over several days.{color}
{color}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)