Perform a clear cache operation with no significant change in memory

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 '

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.