activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtaylor <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #1232: ARTEMIS-1131 Configure optimal GC setti...
Date Fri, 28 Apr 2017 09:28:38 GMT
Github user mtaylor commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/1232#discussion_r113889016
  
    --- 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 --
    
    I'm going ahead and merging this.  We can continue discussion about sensible defaults
and send a separate patch.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message