[
https://issues.apache.org/jira/browse/ARTEMIS-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15987117#comment-15987117
]
ASF GitHub Bot commented on ARTEMIS-1131:
-----------------------------------------
Github user clebertsuconic commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1232#discussion_r113757529
--- Diff: docs/user-manual/en/perf-tuning.md ---
@@ -206,6 +206,14 @@ tunings won't apply to JDKs from other providers (e.g.
IBM or JRockit)
of your queues and the size and number of your messages. Use the JVM
arguments `-Xms` and `-Xmx` to set server available RAM. We
recommend setting them to the same high value.
+
+ When under periods of high load, it is likely that Artemis will be
generating
+ and destroying lots of objects. This can result in a build up of stale
objects.
+ To reduce the chance of running out of memory and causing a full GC
+ (which may introduce pauses and unintentional behaviour), it is
recommended that the
+ max heap size (`-Xmx`) for the JVM is set at least to 5 x the
`global-max-size` of the broker.
--- End diff --
Can you change the calculation for global-max-size then to be 1/5 of the
-Xmx?
Look on ConfigurationImpl
> Configure optimal GC settings
> -----------------------------
>
> Key: ARTEMIS-1131
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1131
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Broker
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Minor
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)