-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set max heap for Kibana? #1924
Comments
This is not specific to Windows, todo this you can set the
|
The above comment may be somewhat misleading. Although it is true that JAVA_OPTS controls heap size, this is the case for Java programs using the JVM. Kibana is written in Node.js and therefore this does not apply to it. The way to set memory use in Node.js (as of now) is to use the following environment variable:
The example above sets memory use to 4GB. |
If you are using the latest versions of Kibana, this setting change. the new one is:
You can see more details about this change on Node.js, here: |
Looks like the Windows .bat file does not have a -Xmx set (the Linux version of the script does).
When attempting to set this in the .bat:
While Java accepts the -Xms and -Xms settings, Jruby doesn't like it and throws an exception:
What is the right way to set additional Java options for the Windows implementation?
The text was updated successfully, but these errors were encountered: