Research · TMN-011 ·

A laptop hung with 32 GB of RAM: what ran out was commit memory

By Fahmi Ghani · about the author and how this is written

A laptop hung with 32 GB of RAM: what ran out was commit memory
Illustration made with AI.

With many agent sessions running, my laptop hung even though it has about 32 GB of physical RAM. What was nearly full was Windows commit memory: 52.7 of a 53.7 GB limit (commit memory = the total memory Windows has promised to all programs: RAM plus the page file on disk). The cause was the agent sessions and the MCP servers that come with them, and closing idle sessions brought the numbers down.

Method

I read two things from Windows: Win32_OperatingSystem (TotalVirtualMemorySize and FreeVirtualMemory, in KB; commit used = total minus free) and memory per process name through a grouped Get-Process. Anyone can run these in PowerShell. I repeated the measurement after 10 idle or finished sessions were archived.

Numbers

What was measuredResult
At the hang: commit memory used of its limit; physical RAM still free52.7 of 53.7 GB; 3.5 GB
Biggest users: 30 agent session processes; 173 MCP-server node processes12.7 GB; 12.3 GB
After 10 idle or finished sessions were archived: commit used; free RAM47.2 GB; 6.0 GB
Load per remaining session (about 10 live sessions), not counting its MCP serversabout 0.9 GB

Limits

Sources

How it was checked: Quoted from the experiment record; derived figures re-checked, raw files not re-run. This is a synthesis of my own experiments. It is not peer reviewed.

Drafted with AI help from my work notes and experiments; I review it before it is published.

Licence: text and data CC BY 4.0. You may reuse and quote with credit to the author and a link to this page.

Cite as: Ghani, F. (2026). MiganCore Findings, record TMN-011. https://migancore.com/en/blog/research/laptop-hung-with-32-gb-ram-commit-memory-ran-out/ · JSON

NextSee the work log