Dynamic Memory
Cheat sheet · https://pcornel.dk/topic.php?topic=3700
Answer
The feature coordinates host memory management with guest integration support. Assigned memory, guest demand and host pressure are different measurements, and configured maximum memory is not guaranteed physical capacity.
Remember
- Configured maximum ≠ guaranteed allocation.
- Startup RAM matters before dynamic adjustment can help.
- Guest demand/pressure and host pressure are different boundaries.
- Dynamic Memory behavior depends on supported guest integration.
First checks
Get-VMMemory <vm> | fl DynamicMemoryEnabled,Startup,Minimum,Maximum,Buffer,Priority— settingsGet-VM | ft Name,MemoryAssigned,MemoryDemand,MemoryStatus— demandGet-Counter '\Hyper-V Dynamic Memory VM(*)\Current Pressure'— pressure
Verify in this order
guest demand → integration service → VMMS adjusts → host memory
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Hyper-V → Dynamic Memory reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Startup | Memory available at boot | Not steady-state target |
| Minimum/maximum | Policy bounds | Maximum ≠ guarantee |
| Assigned | Current Hyper-V allocation | Not guest free memory |
| Demand | Guest-reported need | Signal, not app SLA |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3700