My agent harness runs every CLI agent on one small VM. It kept feeling cramped: no room to hold a model, and parallel runs choking each other. I assumed something was eating memory. I measured it on 2026-11-09.
The machine
- AMD EPYC 9D25, 4 cores
- RAM 7.7GB, with about 0.5GB free
- Disk 150GB, 147GB free
- No GPU
What I expected vs. what I found
The processes were light. The biggest one, the hatch daemon, used about 460MB. All visible processes together came to under 1GB.
The real cause was a memory balloon of about 6.1 GB. /proc/meminfo showed Balloon: 6148448 kB. That is memory reclaimed by the host, which the guest cannot use. So of the nominal 7.7GB, only about 1.6GB was actually usable. On top of that, about 380MB of the 1GB swap was already in use.
That is why models would not fit and concurrent runs jammed. It was not the workload. The host had taken the RAM back.
Disk is not the fix
Disk was fine: 3.1GB used out of 150GB. But storage and execution are different things. A model file can sit on disk, yet it still has to be loaded into RAM to run. Plenty of disk does not help when usable RAM is about 1.6GB.
Takeaway
When a VM feels short on memory, check the balloon line in /proc/meminfo before blaming your processes. The number on the spec sheet is not the number you get.
出典 (Sources): ai-harness/work/2026-11-09-three-clouds/specs-and-config.md (section "RAM逼迫の内訳")