You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2025/10/29 17:01:00 UTC

[jira] [Resolved] (ARTEMIS-5698) Memory leak in client when management API responses are big

     [ https://issues.apache.org/jira/browse/ARTEMIS-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram resolved ARTEMIS-5698.
-------------------------------------
    Resolution: Resolved

> Memory leak in client when management API responses are big
> -----------------------------------------------------------
>
>                 Key: ARTEMIS-5698
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5698
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: JMS
>         Environment: Java JMS client 2.42.0 but likely also all older versions
>            Reporter: Thorsten Meinl
>            Assignee: Justin Bertram
>            Priority: Major
>
> When the response of a management API request sent (and received) using the Core JMS client and the response is big (larger than ~200kB) then JOHNZON-396 is triggered which causes a memory leak. Eventually the Java heap runs full and causes an {{OutOfMemoryError}}.
> This happens, for example, when requesting all addresses on the broker and there are more than ~4,000 addresses.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact