Use it when a workload requires predictable guest memory size or when comparing fixed assignment with dynamic memory techniques.
Static Memory
With static memory, the VM is presented a defined memory size while running. Host implementation may still use paging, sharing or other mechanisms, so “static” describes VM assignment policy rather than guaranteed dedicated DRAM.
1. Static memory gives the VM a fixed amount.
2. Predictable; required for some apps (DBs, Exchange).
3. Host must have it all available.
4. Simplest to troubleshoot.
5. Use for latency-sensitive workloads.
fixed allocation → guest sees full memory
Check reservations/backing and host memory-pressure metrics under peak load.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show dedicated RAM, no host swapping or guaranteed latency.
Next check: Check reservations/backing and host memory-pressure metrics under peak load.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
static memory config → VM start allocation/mapping → guest total memory → workload
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Static memory keeps guest-visible assignment fixed during the run.
- Fixed assignment does not automatically mean physically reserved or locked RAM.
- Host overcommit/pressure can still affect backing depending on platform.
- A reboot/power cycle may be required for size changes when hot-add is not available.
qm config <vmid> | grep -E 'memory|balloon'— balloon 0 = static (Proxmox)Set-VMMemory <vm> -DynamicMemoryEnabled $false -StartupBytes 8GB— static (Hyper-V)virsh dumpxml <vm> | grep -E 'memory|currentMemory'— libvirt memory
ReferenceWhat it is1 section · depth on demand
When to use static memory
Use fixed memory for databases (SQL Server, Oracle), Exchange and latency-sensitive applications, and when the application vendor does not support dynamic memory. On Hyper-V: Set-VMMemory web01 -DynamicMemoryEnabled $false -StartupBytes 16GB. Combine with a reservation on vSphere to avoid host swapping.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Guest total memory matching the configuration shows static presentation, not physical exclusivity or pressure-free backing.
Host backing mechanics belong to Memory Virtualization.
and state what the evidence does not show.
In depth
Static memory gives the VM a fixed amount backed by host memory for its whole life (Hyper-V static, Proxmox with ballooning off, VMware with full reservation). Performance is predictable and the hypervisor cannot reclaim it.
Use static memory for databases (SQL Server, Oracle), Exchange, latency-sensitive and real-time workloads, and VMs using huge pages or passthrough devices (which pin memory anyway).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in VM Hardware → Memory → Static Memory. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
VM Hardware → Memory → Static Memory reference map
Fast VM-hardware boundaries for VM Hardware → Memory → Static Memory.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Guest size | Fixed while VM runs | Static assignment |
| Host reservation | May or may not exist | Platform/policy dependent |
| Host pressure | Can still occur | Separate evidence |
| Resize | May need reboot/hot-add | Capability dependent |