Skip to content

Commit 151c8a6

Browse files
authored
Update bootstrap-checks.md (#779)
oops
1 parent 03276a3 commit 151c8a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deploy-manage/deploy/self-managed/bootstrap-checks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ If you are running a single node in production, it is possible to evade the boot
4949

5050
:::{dropdown} Heap size check
5151

52+
$$$heap-size$$$
53+
5254
By default, {{es}} automatically sizes JVM heap based on a node’s [roles](elasticsearch://reference/elasticsearch/configuration-reference/node-settings.md#node-roles) and total memory. If you manually override the default sizing and start the JVM with different initial and max heap sizes, the JVM may pause as it resizes the heap during system usage. If you enable [`bootstrap.memory_lock`](setup-configuration-memory.md#bootstrap-memory_lock), the JVM locks the initial heap size on startup. If the initial heap size is not equal to the maximum heap size, some JVM heap may not be locked after a resize.
5355

5456
To avoid these issues, start the JVM with an initial heap size equal to the maximum heap size.

0 commit comments

Comments
 (0)