Skip to content

Commit 6bb5d45

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 49b5e39 commit 6bb5d45

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/setup/production.asciidoc

Lines changed: 15 additions & 1 deletion
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
@@ -127,4 +128,17 @@ elasticsearch.hosts:
127128
--------
128129

129130
Related configurations include `elasticsearch.sniffInterval`, `elasticsearch.sniffOnStart`, and `elasticsearch.sniffOnConnectionFault`.
130-
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].
131+
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].
132+
133+
[float]
134+
[[memory]]
135+
=== Memory
136+
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,
137+
it may make sense to tweak limits to meet more specific requirements.
138+
139+
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.
140+
141+
The option accepts a limit in MB:
142+
--------
143+
NODE_OPTIONS="--max-old-space-size=2048" bin/kibana
144+
--------

0 commit comments

Comments
 (0)