What Are MemAvailable and MemAvailable?
When you run cat /proc/meminfo, you may pay more attention to the MemFree and MemAvailable fields in the output. The following describes the two fields.
- MemFree: Physical memory that is not used.
- It is the number of unallocated pages in the buddy allocator.
- MemFree does not include the memory used as a page cache, slab cache, or buffer.
- MemAvailable: Memory that can be used by applications, estimated by the kernel depending on the possibility of cache reclamation. MemAvailable includes:
- MemFree
- Most page caches (reclaimable)
- Reclaimable slab cache
- min_free_kbytes (minimum amount of free memory)
A small MemFree value does not mean the system is about to run out of memory (OOM). As long as there is sufficient reclaimable memory and swap, OOM will not occur even if the value of MemFree is small. The OOM risk depends on the value of MemAvailable.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot