<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Memory Usage on Netdata</title><link>https://www.netdata.cloud/tags/memory-usage/</link><description>Recent content in Memory Usage on Netdata</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://www.netdata.cloud/tags/memory-usage/index.xml" rel="self" type="application/rss+xml"/><item><title>Docker container high memory usage: how to diagnose it</title><link>https://www.netdata.cloud/guides/docker/docker-container-high-memory-usage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.netdata.cloud/guides/docker/docker-container-high-memory-usage/</guid><description>&lt;p&gt;Your container is sitting at 90% of its memory limit but has not been OOMKilled. Or it is being killed repeatedly and you cannot tell whether the limit is too low or the application is leaking. docker stats shows a single percentage, but that number does not reveal the breakdown between reclaimable page cache and anonymous memory that the kernel cannot reclaim. To diagnose this correctly, you need to decompose cgroup memory.stat, map it to your runtime&amp;rsquo;s actual allocations, and decide whether the problem is cache pressure, a runtime mismatch, or a true leak.&lt;/p&gt;</description></item><item><title>Docker memory usage explained: anonymous, file, slab, and what counts</title><link>https://www.netdata.cloud/guides/docker/docker-memory-usage-explained/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.netdata.cloud/guides/docker/docker-memory-usage-explained/</guid><description>&lt;p&gt;You look at &lt;code&gt;docker stats&lt;/code&gt;, see a container sitting at 1.2 GB of a 1.5 GB limit, and assume it is about to explode. It might be fine. That total includes page cache the kernel will reclaim the second another process asks for memory. Meanwhile, a different container reports 600 MB with no limit set, yet its anonymous memory grows 50 MB per hour and will force a host-level OOM kill before lunch.&lt;/p&gt;</description></item></channel></rss>