Skip to content

Commit 98c68f7

Browse files
committed
[docs] max-old-space-size (#52310)
* [docs] max-old-space-size * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <[email protected]> * Update docs/setup/production.asciidoc Co-Authored-By: gchaps <[email protected]> * _max_ * Update docs/setup/production.asciidoc Co-Authored-By: Tyler Smalley <[email protected]> * max example * move comma * Update production.asciidoc
1 parent 69194b9 commit 98c68f7

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

docs/setup/production.asciidoc

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* <<enabling-ssl>>
77
* <<load-balancing>>
88
* <<high-availability>>
9+
* <<memory>>
910

1011
How you deploy Kibana largely depends on your use case. If you are the only user,
1112
you can run Kibana on your local machine and configure it to point to whatever
@@ -27,7 +28,7 @@ You can use {stack-ov}/elasticsearch-security.html[{stack} {security-features}]
2728
to control what {es} data users can access through Kibana.
2829

2930
When {security-features} are enabled, Kibana users have to log in. They need to
30-
have a role granting <<kibana-privileges, Kibana privileges>> as well as access
31+
have a role granting <<kibana-privileges, Kibana privileges>> as well as access
3132
to the indices they will be working with in Kibana.
3233

3334
If a user loads a Kibana dashboard that accesses data in an index that they
@@ -125,4 +126,17 @@ elasticsearch.hosts:
125126
--------
126127

127128
Related configurations include `elasticsearch.sniffInterval`, `elasticsearch.sniffOnStart`, and `elasticsearch.sniffOnConnectionFault`.
128-
These can be used to automatically update the list of hosts as a cluster is resized. Parameters can be found on the {kibana-ref}/settings.html[settings page].
129+
These can be used to automatically update the list of hosts as a cluster is resized. Parameters can be found on the {kibana-ref}/settings.html[settings page].
130+
131+
[float]
132+
[[memory]]
133+
=== Memory
134+
Kibana has a default maximum memory limit of 1.4 GB, and in most cases, we recommend leaving this unconfigured. In some scenarios, such as large reporting jobs,
135+
it may make sense to tweak limits to meet more specific requirements.
136+
137+
You can modify this limit by setting `--max-old-space-size` in the `NODE_OPTIONS` environment variable. For deb and rpm, packages this is passed in via `/etc/default/kibana` and can be appended to the bottom of the file.
138+
139+
The option accepts a limit in MB:
140+
--------
141+
NODE_OPTIONS="--max-old-space-size=2048" bin/kibana
142+
--------

0 commit comments

Comments
 (0)