mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 06:16:40 +00:00
More asciidoc errors
This commit is contained in:
parent
1a15e55f94
commit
bdf62b5615
@ -26,21 +26,23 @@ your server. Good rules of thumb are:
|
|||||||
object pointers (compressed oops); the exact cutoff varies but is
|
object pointers (compressed oops); the exact cutoff varies but is
|
||||||
near 32 GB. You can verify that you are under the limit by looking
|
near 32 GB. You can verify that you are under the limit by looking
|
||||||
for a line in the logs like the following:
|
for a line in the logs like the following:
|
||||||
|
+
|
||||||
heap size [1.9gb], compressed ordinary object pointers [true]
|
heap size [1.9gb], compressed ordinary object pointers [true]
|
||||||
|
|
||||||
* Even better, try to stay below the threshold for zero-based
|
* Even better, try to stay below the threshold for zero-based
|
||||||
compressed oops; the exact cutoff varies but 26 GB is safe on most
|
compressed oops; the exact cutoff varies but 26 GB is safe on most
|
||||||
systems, but can be as large as 30 GB on some system. You can verify
|
systems, but can be as large as 30 GB on some systems. You can verify
|
||||||
that you are under the limit by starting Elasticsearch with the JVM
|
that you are under the limit by starting Elasticsearch with the JVM
|
||||||
options "-XX:+UnlockDiagnosticVMOptions -XX:+PrintCompressedOopsMode"
|
options `-XX:+UnlockDiagnosticVMOptions -XX:+PrintCompressedOopsMode`
|
||||||
and looking for a line like the following:
|
and looking for a line like the following:
|
||||||
|
+
|
||||||
|
--
|
||||||
heap address: 0x000000011be00000, size: 27648 MB, zero based Compressed Oops
|
heap address: 0x000000011be00000, size: 27648 MB, zero based Compressed Oops
|
||||||
|
|
||||||
showing that zero-based compressed oops are enabled instead of
|
showing that zero-based compressed oops are enabled instead of
|
||||||
|
|
||||||
heap address: 0x0000000118400000, size: 28672 MB, Compressed Oops with base: 0x00000001183ff000
|
heap address: 0x0000000118400000, size: 28672 MB, Compressed Oops with base: 0x00000001183ff000
|
||||||
|
--
|
||||||
|
|
||||||
Here are examples of how to set the heap size via the jvm.options file:
|
Here are examples of how to set the heap size via the jvm.options file:
|
||||||
|
|
||||||
@ -62,4 +64,4 @@ ES_JAVA_OPTS="-Xms2g -Xmx2g" ./bin/elasticsearch <1>
|
|||||||
ES_JAVA_OPTS="-Xmx4000mb -Xmx4000mb" ./bin/elasticsearch <2>
|
ES_JAVA_OPTS="-Xmx4000mb -Xmx4000mb" ./bin/elasticsearch <2>
|
||||||
------------------
|
------------------
|
||||||
<1> Set the minimum and maximum heap size to 2 GB.
|
<1> Set the minimum and maximum heap size to 2 GB.
|
||||||
<1> Set the minimum and maximum heap size to 4000 MB.
|
<2> Set the minimum and maximum heap size to 4000 MB.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user