Hello,
Just to clarify the free -m/h command I am going to quote this here:
total: Your total (physical) RAM (excluding a small bit that the kernel permanently reserves for itself at startup); that's why it shows ca. 11.7 GiB , and not 12 GiB, which you probably have.used: memory in use by the OS.free: memory not in use.
total=used+free
shared/buffers/cached: This shows memory usage for specific purposes, these values are included in the value forused.
Can you please tell me if this is a bare-metal server or a VM of a sort (KVM/Vmware/docker/etc.)?
Also, it would be helpful if you can stop the Elasticsearch then show us free -m. I want to see what is available or free when nothing is running on your system.
This is my free -h just as an example:
-Xms30g
-Xmx30g
total used free shared buff/cache available
Mem: 94G 32G 753M 72M 61G 61G
Swap: 0B 0B 0B