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

Francesco Nigro updated ARTEMIS-3575:
-------------------------------------
    Description: 
Steps to reproduce:

Using the GUI in the console:
* Create a new multicast address named "mytest"
* Select the address and create a durable multicast queue named "mytest"
* Use the artemis CLI to produce messages. For example like this:
artemis producer --user admin --password admin --url tcp://localhost:61616 
--destination topic://mytest --message-count 1000 --message-size 40960 
--threads 4
Note the reported address memory used in the console: in the example above it 
is 160.26MB
* restart the broker
* the reported address memory is now below 1 MB

The error seems due to the paging store owner that's not correctly set on the 
message while loading it, preventing its memory estimation to be accounted into 
the address size.

> Wrong address size estimation on broker restart
> -----------------------------------------------
>
>                 Key: ARTEMIS-3575
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3575
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Francesco Nigro
>            Assignee: Gary Tully
>            Priority: Major
>
> Steps to reproduce:
> Using the GUI in the console:
> * Create a new multicast address named "mytest"
> * Select the address and create a durable multicast queue named "mytest"
> * Use the artemis CLI to produce messages. For example like this:
> artemis producer --user admin --password admin --url tcp://localhost:61616 
> --destination topic://mytest --message-count 1000 --message-size 40960 
> --threads 4
> Note the reported address memory used in the console: in the example above it 
> is 160.26MB
> * restart the broker
> * the reported address memory is now below 1 MB
> The error seems due to the paging store owner that's not correctly set on the 
> message while loading it, preventing its memory estimation to be accounted 
> into the address size.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to