Use it for VM RAM sizing and to separate configured guest memory from host physical memory availability and runtime pressure.
Memory
VM memory configuration defines the addressable memory presented to the guest. Depending on platform/configuration, the active host backing can be fixed, dynamically adjusted, reclaimed or overcommitted.
1. Choose static or dynamic memory.
2. Size from guest demand.
3. Ballooning/dynamic memory need guest drivers.
4. NUMA and huge pages for large VMs.
5. Avoid host swapping.
config → host allocation → guest view
Correlate with host pressure, ballooning/swapping and NUMA evidence.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show zero host pressure, optimal NUMA locality or absence of swapping/reclamation.
Next check: Correlate with host pressure, ballooning/swapping and NUMA evidence.
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
VM memory config → hypervisor mapping/backing → guest physical memory view → guest allocator/cache → 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.
Subtopics
Go one level deeper into this subject.
Static Memory assigns a fixed configured amount of guest-visible memory to the VM for its run, rather than varying the assigned amount through a dynamic-memory policy.
Subtopic Dynamic MemoryDynamic Memory is a VM memory policy that allows the hypervisor to vary the memory assigned or made available to a running guest within configured bounds.
Subtopic BallooningBallooning is a cooperative memory-reclamation mechanism in which a guest driver allocates/pins guest pages so the hypervisor can reclaim corresponding host backing.
Subtopic Memory OvercommitMemory Overcommit configures aggregate VM memory claims above physical host RAM, relying on non-concurrent demand and platform reclamation/backing mechanisms.
Subtopic NUMANUMA in VM Hardware describes how a VM's CPU and memory topology is presented relative to non-uniform memory access boundaries.
Subtopic Huge PagesHuge Pages use larger memory page sizes for some VM memory mappings to reduce translation overhead and TLB pressure, subject to host/platform and guest requirements.
Subtopic Memory Hot AddMemory Hot Add is the ability to add guest-visible memory to a running VM without a full power cycle, subject to hypervisor and guest OS support.
- Configured memory is not always equal to current host physical backing.
- Guest free/used memory and host memory pressure are different views.
- Dynamic memory/ballooning can change the effective memory available to the guest.
- NUMA and huge-page choices can influence placement and performance.
virsh dommemstat <vm>— VM memory statsGet-VMMemory <vm>— Hyper-V memory configfree -m— guest view
ReferenceWhat it is1 section · depth on demand
Memory options per platform
| Platform | Options |
|---|---|
| VMware | Configured size, reservation, limit, shares, hot-add |
| Hyper-V | Static or Dynamic Memory (startup, minimum, maximum, buffer) |
| Proxmox/KVM | Memory + minimum memory with ballooning, huge pages, NUMA |
Size by the guest's working set. Too little causes guest paging; too much wastes RAM and lengthens migrations.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Guest-visible RAM shows memory presentation, not host headroom, locality, reclamation absence or workload health.
Deep backing/reclamation/pressure mechanics belong to Memory Virtualization.
Close with Correlate guest paging/working set with host resident/reclaim/NUMA metrics during the same workload, then verify latency after any controlled change. and state what the evidence does not show.
In depth
VM memory is configured as a fixed size, a dynamic range or with reservations, depending on the platform. The guest needs enough for its working set plus file cache; the host needs to back it without swapping.
# Guest view
free -h; vmstat 5
Get-Counter '\Memory\Available MBytes'
# Host view
esxtop (m): MCTLSZ (balloon), SWCUR (swap), ACTV
qm status 120 --verbose | grep -i mem
Guests always use "spare" memory as cache, so a full guest is normal — look at swap activity and page faults to judge real shortage.
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. 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 reference map
Fast VM-hardware boundaries for VM Hardware → Memory.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Configured memory | Guest memory policy/limit | Control-plane value |
| Host backing | Physical/virtual host pages | Can vary |
| Guest memory | OS-visible/managed RAM | Guest perspective |
| Workload | Consumes memory | Outcome must be measured |