Dee Moore created AMQ-8128:
------------------------------
Summary: There is no option to garbage collect a topic based only
on messages
Key: AMQ-8128
URL: https://issues.apache.org/jira/browse/AMQ-8128
Project: ActiveMQ
Issue Type: Improvement
Affects Versions: 5.16.0, 5.14.2
Reporter: Dee Moore
We are using schedulePeriodForDestinationPurge and inactiveTimeoutBeforeGC to
clean up topics which are dormant. We were experiencing an issue with the
kahadb db.data growing continually until ActiveMQ starts hanging (at around 3.7
GB, running with 32-bit JVM). The issue turned out to be that our subscription
to this set of topics was based on a wildcard, which meant ActiveMQ never deems
any of the topics dormant because they always have subscribers.
I think ActiveMQ should have an option to judge a topic dormant based solely on
messages - so if no messages are sent for the timeout period, the topic is
garbage collected even if it has current subscribers. This is especially
important when you are using a wildcard match to get a set of topics.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)