I am analyzing issues with unexpected increase of memory consumption in Linux. It is an embedded system with no swap.
What is happening is over some period of time around 2GB of **MemFree/MemAvailable** (they change over time nearly identically) from **/proc/meminfo** is being dropped.
But by analyzing just **/proc/meminfo** doesn't seem explaining "where" memory went. What I mean is while **MemFree/MemAvailable** is decreases, other fields doesn't seem increasing in a way to fully contribute to memory issue, there is increase in some of the consumptions in the fields but not in the amount of the drop.
So I have several questions:
1. Is **/proc/meminfo** a sufficient source to analyze memory consumption. I mean not to exactly blame somebody but at least to see that let's say Slab,AnonPages etc. areas increased it consumption and so it dropped overall free/available memory? If it is not that should I analyse together with it for better picture
2. A bit more specific question. Are **HugeAnonPages** accounted within **AnonPages** or they are separately tracked?
Asked by exbluesbreaker
(101 rep)
Jul 28, 2025, 02:23 PM
Last activity: Jul 30, 2025, 08:48 AM
Last activity: Jul 30, 2025, 08:48 AM