cli-jvm-options.asciidoc 538 B

1234567891011121314
  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
  5. needed this can be overridden by setting the `CLI_JAVA_OPTS` environment variable.
  6. For example, the following increases the heap size used by the
  7. `pass:a[elasticsearch-{tool-name}]` tool to 1GB.
  8. [source,shell,subs=attributes+]
  9. --------------------------------------------------
  10. export CLI_JAVA_OPTS="-Xmx1g"
  11. bin/elasticsearch-{tool-name} ...
  12. --------------------------------------------------