@@ -11,7 +11,7 @@ Configure Ops Manager to Monitor Large Deployments
1111 :class: singlecol
1212
1313To monitor deployments with more than 2,000 hosts located in
14- globally-distributed datacenters , configure your |onprem| instance
14+ globally-distributed data centers , configure your |onprem| instance
1515with these advanced settings.
1616
1717Allocate more RAM to Ops Manager Hosts
@@ -21,13 +21,24 @@ Allocate more RAM to Ops Manager Hosts
2121 editor.
2222
23232. Find a line where the ``JAVA_MMS_UI_OPTS`` variable defines the
24- ``-Xms``, ``-Xmx``, and ``-Xmn `` parameters.
24+ ``-Xms`` and ``-Xmx `` parameters.
2525
26263. Update the ``-Xms`` and ``-Xmx`` values from the default of 4352 MB
2727 to 8192 MB or more if the hosts have extra free memory.
2828
29- 4. Update the ``-Xmn`` value from the default of 1500 MB to a quarter
30- of the value that you specified for ``-Xms`` and ``-Xmx``.
29+ .. note:: Don't Set Young Generation's Heap Size Explicitly Using ``-Xmn``.
30+
31+ Starting with |onprem| 7.0, |onprem| adopted a Garbage-First (G1)
32+ garbage collector method for the JVM. We recommend that you don't
33+ set the young generation's heap size explicitly to any fixed value
34+ using ``-Xmn``. Setting a fixed value with ``-Xmn`` interferes with
35+ the G1 garbage collector's default behavior. If you set this value,
36+ this prevents the G1 garbage collector from expanding and contracting
37+ the young generation space as needed, which causes the collector to
38+ stop respecting the pause time value for garbage collections.
39+
40+ You can set the values for ``Xmx`` and ``Xms`` to be the same, and
41+ retain the pause at its default value: ``-XX:MaxGCPauseMillis=200``.
3142
3243To learn about how to resolve this error in greater detail, see our
3344troubleshooting entry on the
@@ -76,4 +87,4 @@ ingestion:
7687 mms.monitoring.rrd.rawsystem.batch.size=1000
7788
78893. Save the properties file.
79- 4. Restart Ops Manager .
90+ 4. Restart |onprem| .
0 commit comments