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

Justin Bertram commented on ARTEMIS-5188:
-----------------------------------------

You haven't provided enough information to make analysis possible. A couple of 
screenshots and a short description isn't worth much in this context.

The first thing to determine is whether the {{AddressInfo}} objects _should_ 
actually be cleared or not. Are you under the impression that they should be 
cleared? If so, why? How many addresses are reported by the {{AddressCount}} 
attribute on the {{ActiveMQServerControl}}?

MQTT use-cases can involved a lot of addresses. Are you sure you don't simply 
need to give the broker more memory for your use-case?

What are you address-settings? Do you perhaps need to enable auto-deletion of 
addresses?

Please provide more information or this Jira is liable to be closed.

Thanks!

> OOM
> ---
>
>                 Key: ARTEMIS-5188
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5188
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 2.38.0
>            Reporter: gongping.zhu
>            Priority: Major
>         Attachments: image-2024-11-29-14-24-33-334.png, 
> image-2024-11-29-14-25-24-153.png, image-2024-11-30-11-16-12-338.png
>
>
> I monitored memory objects using JProfiler and found that the 
> {{org.apache.activemq.artemis.core.server.impl.AddressInfo}} objects are 
> increasing without being cleared, eventually leading to an out-of-memory 
> error. How can I resolve this issue?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to