Embedded development is very sensitive to memory leaks, and you pay more attention to the location of the leak. This article records the meaning of each parameter in /proc/meminfo
collected from the Internet. It is not complete yet and needs to be completed.
Reference
Understanding of /proc/meminfo
linux/Documentation/filesystems/proc.txt
Note
The following items are not every They are available on every Linux system. Depending on your Linux design and version, there may be more or less items.
The second item in the reference material is the latest Linux documentation
Project name | Description |
---|---|
MemTotal | All available RAM size, physical memory minus reserved bits and kernel usage |
MemFree | LowFree HighFree |
Buffers | The size used to cache block devices (file system metadata, tracking in-flight pages) |
Cached | Buffer size of the file |
SwapCached | Memory that has been swapped out. Related to I/O |
Active | Frequently (recently) used memory |
##Inactive | Memory that has been infrequently used recently. This can easily be moved by the system to other uses|
? | |
? | |
? | |
? | |
All in 860MB (0x35C00000) the space above. Mainly the space below 860MB for user space programs or cache pages | |
. If this space is used up, the system may experience an exception | |
860MB or more free space | |
860MB of free space below | |
Total swap space | |
The size of RAM temporarily stored in Swap | |
Size of data waiting to be written back | |
Size of data being written back | |
Mapped file size | |
Mapped to user Non-file page table size of space | |
? | |
Kernel data structure cache | |
Part of Slab. When the memory pressure is high, you can reclaim | |
You cannot reclaim Slab | |
? | |
The memory space of the bottom page table | |
The page table that has been sent to the NFS server but has not yet been confirmed (committed) and written to stable storage | |
? | |
Memory used by FUSE for temporary writeback buffers | |
CommitLimit = ('vm.overcommit_ratio' * Physical RAM) | |
The amount of memory presently allocated on the system. (The memory currently allocated in the system?) | |
vmalloc memory size | |
The virtual memory size that has been used | |
The size of the largest contiguous memory block available in the vmalloc area | Recommended study:《 |