tabish121 commented on code in PR #5537: URL: https://github.com/apache/activemq-artemis/pull/5537#discussion_r1974407033
########## docs/user-manual/paging.adoc: ########## @@ -158,7 +158,7 @@ You can also specify `global-max-messages` on the main configuration, specifying When you have more messages than what is configured `global-max-size` any new produced message will make that destination to go through its paging policy. -`global-max-size` is calculated as half of the max memory available to the Java Virtual Machine, unless specified on the `broker.xml` configuration. +`global-max-size` is calculated as `global-max-size-percent-of-jvm-max-memory` of the max memory available to the Java Virtual Machine, unless specified on the `broker.xml` configuration. The default value of `global-max-size-percent-of-jvm-max-memory` is 50% or half. Review Comment: Wondering if a rewording here would help as I needed to read this a few times before I figured out what it was saying. `global-max-size` is calculated as a percentage of the max memory available to the Java Virtual Machine, unless specified in the `broker.xml` configuration directly. The percentage value used is configurable using the option `global-max-size-percent-of-jvm-max-memory` in the XML configuration and if not specified the default value of `global-max-size-percent-of-jvm-max-memory` is 50% or half the max available memory. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact