I executed the following request to clear the cache, but when I look at the percentage of memory used by the process on top, there is no change。What is the reason for this?
curl -XPOST 'http://172.18.141.39:19200/_cache/clear
I executed the following request to clear the cache, but when I look at the percentage of memory used by the process on top, there is no change。What is the reason for this?
curl -XPOST 'http://172.18.141.39:19200/_cache/clear
Elasticsearch keeps hold of all the memory needed to hold the heap, even if some of it is not currently in active use.
Thanks for the answer, so how do I free the memory completely?
You would have to shut Elasticsearch down. Elasticsearch only releases the memory needed to hold the heap when it exits.
Thanks for understanding
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.