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

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 measured | Result |
|---|---|
| At the hang: commit memory used of its limit; physical RAM still free | 52.7 of 53.7 GB; 3.5 GB |
| Biggest users: 30 agent session processes; 173 MCP-server node processes | 12.7 GB; 12.3 GB |
| After 10 idle or finished sessions were archived: commit used; free RAM | 47.2 GB; 6.0 GB |
| Load per remaining session (about 10 live sessions), not counting its MCP servers | about 0.9 GB |
Limits
- One machine and one event. The exact numbers do not apply to other computers; what can be copied is the way to measure.
- The commit limit on Windows can rise when the page file grows. When I measured again the figure had risen once more (64.2 of 67.3 GB), so closing sessions only delays the problem if the number of sessions keeps growing.
- Some MCP plugins keep running even when marked off in the settings file; only the account-level setting turns them off. I have not finished that.
Sources
- Windows measurements before and after, work-ledger rows of 23 November 2026, and my own re-measurement (internal archive, unpublished) · record date 23 November 2026
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