cli-jvm-options.asciidoc 521 B

12345678910111213
  1. [[cli-tool-jvm-options-{tool-name}]]
  2. [float]
  3. ==== JVM options
  4. CLI tools run with 64MB of heap. For most tools, this value is fine. However, if needed
  5. this can be overriden by setting the CLI_JAVA_OPTS environment variable. For example,
  6. the following increases the heap size used by the `pass:a[{tool-name}]` tool to 1GB.
  7. [source,shell,subs=attributes+]
  8. --------------------------------------------------
  9. export CLI_JAVA_OPTS="-Xmx1g"
  10. bin/elasticsearch-{tool-name} ...
  11. --------------------------------------------------