Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
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 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.