{
  "id": 11255550,
  "title": "Summing RSS Is Not Your WSL2 Memory Usage",
  "url": "https://urgent.news/2026/10/01/summing-rss-is-not-your-wsl2-memory-usage",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-01T18:38:18.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/thurxm09/summing-rss-is-not-your-wsl2-memory-usage-46e4"
  },
  "original_language": "en",
  "account": "Task Manager reports 8 GB of memory being used by VmmemWSL, but running htop inside Ubuntu shows around 2 GB. It can be confusing why these numbers differ, but the key is understanding the different scopes they represent. Windows looks at the machine as a whole at the host level, while VmmemWSL represents the WSL2 virtual machine, including the VM's memory footprint, Linux kernel, caches, and workloads. The Linux environment sees what a particular distribution has at the distro level, and individual processes and their memory mappings are described at the process level. Comparing these numbers directly is a category error because they are describing different things. After recognizing this, it became clear that adding up RSS values from multiple processes does not give the accurate memory usage of WSL2. The reason is that RSS, or Resident Set Size, does not represent unique physical memory ownership. A process maps pages that may also be mapped by other processes, causing shared pages to be counted multiple times. Scaling this up across many processes, shared libraries, and memory mappings leads to over-counting physical memory. Consequently, the total RSS value can become larger than the actual memory footprint of the WSL2 virtual machine. This highlights the importance of understanding the scope and meaning of each memory measurement before attempting to compare or aggregate them.",
  "summary": "Task Manager says \"VmmemWSL\" is holding 8 GB, while inside Ubuntu, \"htop\" shows something closer to 2 GB. At first, the difference is difficult to interpret because both numbers look perfectly plausible when considered on their own. You close a few browser tabs, stop a container, run \"wsl --shutdown\", and perhaps even try a \".wslconfig\" setting you found in a forum post. Yet, somehow, the numbers…",
  "key_points": [
    "Task Manager shows 8 GB memory used by VmmemWSL",
    "Htop inside Ubuntu reports around 2 GB memory usage",
    "RSS values from multiple processes do not equal WSL2 memory usage"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}