MemFree in /proc/meminfo - the number of pages free in the distributor of the interlocutor. This allocation buddy is the basic unit for allocating physical memory in the kernel; however, there are many ways that pages can be returned to the buddy allocator when necessary - for example, freeing up empty SLABs, dropping cache / buffer RAM (even if this means PTE is invalid in a running process) or as a last resort by changing things.
In fact, MemFree usually controlled only by 5-10% of the total physical RAM, and any additional free RAM is copied to the cache over time. Thus, MemFree itself is a very incomplete view of the general situation with memory.
As for the virtual memory (VSIZE) of this process, this refers to the sum of the sizes of all mapped memory segments in the process address space. However, not all of them will be physically present - some may be loaded on first access and, as such, will not be registered as used memory, while actually used. Resident size (RSIZE) is a more accurate view, since it registers only those pages that are displayed right now - although it can also be inaccurate if this page is displayed in several virtual addresses (which is very common when considering several processes - shared libraries have the same physical RAM displayed for all processes that use this library)
bdonlan
source share