Use the --java-memory switch from the "create" command, e.g.:

  ./artemis create ... --java-memory 64G ...

This is described in the documentation [1]. You can also get this
information using "help," e.g.:

  ./artemis help create


Justin

On Sun, Nov 19, 2023 at 12:46 AM Shivang Modi <sm...@provenir.com.invalid>
wrote:

> Hi Team,
>
>
>
> While creating brokers want to set high heap size (Xmx value) via
> parameters, how can I achieve that? Want to override Xmx values of below
> JAVA_ARGS
>
>
>
> JAVA_ARGS="-XX:+PrintClassHistogram -XX:+UseG1GC
> -XX:+UseStringDeduplication -Xms512M -Xmx2G -Dhawtio.disableProxy=true
> -Dhawtio.realm=activemq -Dhawtio.offline=true -D
>
>
> hawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal
> -Djolokia.policyLocation=${ARTEMIS_INSTANCE_ETC_URI}jolokia-access.xml
>
>
>
> Thanks,
>
> Shivang.
>
> --
> *This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this e-mail
> or its contents to any other person and any such actions maybe unlawful*.
> This e-mail may contain viruses. Provenir has taken every reasonable
> precaution to minimize this risk, but is not liable for any damage you may
> sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Provenir
> reserves
> the right to monitor and review the content of all messages sent to or
> from
> this e-mail address. Messages sent to or from this e-mail address may be
> stored on the Provenir e-mail system.
>

Reply via email to