Justin Bertram created ARTEMIS-4702:
---------------------------------------
Summary: Only run command needs custom JVM settings
Key: ARTEMIS-4702
URL: https://issues.apache.org/jira/browse/ARTEMIS-4702
Project: ActiveMQ Artemis
Issue Type: Improvement
Reporter: Justin Bertram
Assignee: Justin Bertram
Right now every {{artemis}} command uses the same JVM settings from
{{artemis.profile}}. So, for example, if the settings included {{-Xms8G
-Xmx8G}} for running the broker (i.e. the {{run}} command) those same settings
would be used for the {{queue stat}}, {{consumer}}, {{producer}}, etc. commands
as well. At best, it's overkill to use 8G of memory for these secondary
commands and at worst it can actually prevent them from operating at all (e.g.
if the machine is low on memory).
JVM settings really only need to apply to the {{run}} command.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)