@@ -245,41 +245,54 @@ content: |
245245 The key values in this line are:
246246
247247 .. list-table::
248- :widths: 40 60
248+ :widths: 10 40 40
249+ :header-rows: 1
249250 :stub-columns: 1
250251
252+ * - Key
253+ - Value
254+ - Default
255+
251256 * - ``-Xmx``
252257 - Java Heap Maximum Memory
258+ - 4,352 :abbr:`MB (Megabytes)` (``4352m``)
253259 * - ``-Xms``
254260 - Java Heap Starting Memory
255-
256- By default, these values are both set to
257- 4,352 :abbr:`MB (Megabytes)` (``4352m``).
261+ - 4,352 :abbr:`MB (Megabytes)` (``4352m``)
262+ * - ``-Xmn``
263+ - Java Heap Young Generation Memory
264+ - 1,500 :abbr:`MB (Megabytes)` (``1500m``)
258265
259266 .. admonition:: Do not change other Java options
260267 :class: warning
261268
262- Changing any option values other than ``-Xmx`` and
263- ``-Xms`` could have an unexpected impact on the
264- |application|. Do not change other values without
265- consulting MongoDB Support.
266-
267- 3. Change the ``-Xmx`` and ``-Xms`` values to a larger
268- value. Both parameters should be set to the same value
269- to remove any performance impact from the VM constantly
270- reclaiming memory from the heap.
271-
272- The value is specified as ``#k|m|g``: a number followed
273- by
269+ Changing any option values other than ``-Xmx``,
270+ ``-Xms``, and ``-Xmn`` could have an unexpected impact
271+ on the |application|. Do not change other values
272+ without consulting MongoDB Support.
273+
274+
275+ 3. Change the ``-Xmx``, ``-Xms``, and ``Xmn`` values:
276+
277+ - Change the ``-Xmx`` and ``-Xms`` values to a larger
278+ value. You should set both parameters to the same value
279+ to remove any performance impact from the VM constantly
280+ reclaiming memory from the heap.
281+
282+ - Change the ``-Xmn`` value to a quarter of the value
283+ that you specified for the ``-Xmx`` and ``-Xms`` keys.
284+
285+ Specify the values as ``#k|m|g``: a number followed
286+ by:
274287
275288 - ``k`` (kilobytes),
276289 - ``m`` (megabytes), or
277290 - ``g`` (gigabytes)
278291
279292 .. example::
280293
281- To set the Java heap to 10 :abbr:`GB (Gigabytes)`,
282- set this value to: ``-Xmx10g -Xms10g``
294+ To set the Java Heap to 12 :abbr:`GB (Gigabytes)`,
295+ set the values to: ``-Xmx12g -Xms12g -Xmn3g``.
283296
284297 - id: windows
285298 name: Windows Hosts
@@ -347,7 +360,7 @@ content: |
347360
348361 .. example::
349362
350- To set the Java heap to 10 :abbr:`GB (Gigabytes)`,
363+ To set the Java Heap to 10 :abbr:`GB (Gigabytes)`,
351364 set this value to: ``-Xmx10g -Xms10g``
352365
353366 The optimal value for your |onprem| installation depends upon your
@@ -362,7 +375,7 @@ content: |
362375
363376 .. important::
364377
365- Your Java heap size must not be set to a value greater than the
378+ Your Java Heap size must not be set to a value greater than the
366379 amount of physical memory in the |onprem| host or less than the
367380 default value of ``4352m`` (4,352 :abbr:`MB (Megabytes)`).
368381
0 commit comments