Hello,
how elasticsearch uses memory ?
Question which could appear naive but I cannot find a satisfactory solution. If anyone could help me. thank you
Hello,
how elasticsearch uses memory ?
Question which could appear naive but I cannot find a satisfactory solution. If anyone could help me. thank you
Yes, it is not very clear what you are looking for. At a high level Elasticsearch uses memory in three ways. The first and most obvious one is the Java heap, which is the main way to size the memory usage of an Elasticsearch node. Elasticsearch however also requires additional off-heap memory for some data structures. The amount needed will largely depend on your data but is generally smaller than the heap. In order to get optimal performance Elasticsearch also relies on memory used by the operating system page cache to cache files frequently used. These additional types of memory is why it is not recommended to set the size of the Java heap to more than 50% of the RAM available to Elasticsearch.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.