Dynamic Memory
Cheat sheet · https://pcornel.dk/topic.php?topic=3457
Answer
Dynamic memory changes effective VM memory according to platform policy, guest demand signals and configured minimum/startup/maximum constraints. Exact mechanisms vary by hypervisor.
Remember
- Dynamic memory is policy-driven, not a promise that all configured maximum memory is physically available immediately.
- Startup/minimum/maximum concepts are distinct.
- Guest cooperation or platform-specific drivers may be required.
- Memory changes can affect NUMA placement and workload latency.
First checks
Get-VMMemory <vm> | fl DynamicMemoryEnabled,Minimum,Maximum,Startup— Hyper-V dynamic memoryGet-VM | ft Name,MemoryDemand,MemoryAssigned— demand vs assignedqm config <vmid> | grep balloon— Proxmox balloon min
Verify in this order
demand measured → host adds/removes memory → guest
Where it usually breaks
First mismatch in host capability/IOMMU/NUMA → hypervisor allocation/mapping → virtual hardware model → guest driver/enumeration → workload use; preserve identity/native error/pre-state before mutation.
VM Hardware → Memory → Dynamic Memory reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Minimum | Lower policy bound | Not target under all conditions |
| Startup | Initial assignment | May differ from steady state |
| Maximum | Upper policy bound | Not reservation |
| Assigned | Current memory provided | Time-varying |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3457