12345678910111213141516171819202122232425262728 |
- // tag::cloud[]
- From your deployment menu, click **Elasticsearch**. Under **Instances**, each
- instance displays a **JVM memory pressure** indicator. When the JVM memory
- pressure reaches 75%, the indicator turns red.
- You can also use the <<cluster-nodes-stats,nodes stats API>> to calculate the
- current JVM memory pressure for each node.
- // tag::jvm-memory-cat-nodes[]
- [source,console]
- ----
- GET _nodes/stats?filter_path=nodes.*.jvm.mem.pools.old
- ----
- Use the response to calculate memory pressure as follows:
- JVM Memory Pressure = `used_in_bytes` / `max_in_bytes`
- // end::jvm-memory-cat-nodes[]
- // end::cloud[]
- // tag::self-managed[]
- To calculate the current JVM memory pressure for each node, use the
- <<cluster-nodes-stats,nodes stats API>>.
- include::jvm-memory-pressure.asciidoc[tag=jvm-memory-cat-nodes]
- // end::self-managed[]
|