Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Naarcha-AWS <[email protected]>
  • Loading branch information
Naarcha-AWS authored Jul 3, 2024
1 parent 6f9d0cb commit 734a172
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _install-and-configure/install-opensearch/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ The [sample docker-compose.yml]({{site.url}}{{site.baseurl}}/install-and-configu

Sets the size of the Java heap (we recommend half of system RAM).

It's important to note that OpenSearch defaults to `-Xms1g -Xmx1g` for heap memory allocation, which take precedence over configurations specified using percentage notation (`-XX:MinRAMPercentage`, `-XX:MaxRAMPercentage`). For example, if you set `OPENSEARCH_JAVA_OPTS=-XX:MinRAMPercentage=30 -XX:MaxRAMPercentage=70`, the predefined `-Xms1g -Xmx1g` values will override these settings. When using `OPENSEARCH_JAVA_OPTS` to define memory allocation, ensure you use the `-Xms` and `-Xmx` notation.
OpenSearch defaults to `-Xms1g -Xmx1g` for heap memory allocation, which takes precedence over configurations specified using percentage notation (`-XX:MinRAMPercentage`, `-XX:MaxRAMPercentage`). For example, if you set `OPENSEARCH_JAVA_OPTS=-XX:MinRAMPercentage=30 -XX:MaxRAMPercentage=70`, the predefined `-Xms1g -Xmx1g` values will override these settings. When using `OPENSEARCH_JAVA_OPTS` to define memory allocation, make sure you use the `-Xms` and `-Xmx` notation.
{: .note}

- `nofile 65536`

Expand Down

0 comments on commit 734a172

Please sign in to comment.