Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Memory

Direct answer

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.

When to use this

Use it for VM RAM sizing and to separate configured guest memory from host physical memory availability and runtime pressure.

First 30 seconds

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.

Operational verification

config → host allocation → guest view

Evidence · next step

Correlate with host pressure, ballooning/swapping and NUMA evidence.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
virtualization-hardware
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-hardware
Scope / prerequisiteUse it for VM RAM sizing and to separate configured guest memory from host physical memory availability and runtime pre…
What next?3 suggested next steps
Child topics (this level)7
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • 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.
Key checks
  • virsh dommemstat <vm> — VM memory stats
  • Get-VMMemory <vm> — Hyper-V memory config
  • free -m — guest view
ReferenceWhat it is1 section · depth on demand

Memory options per platform

PlatformOptions
VMwareConfigured size, reservation, limit, shares, hot-add
Hyper-VStatic or Dynamic Memory (startup, minimum, maximum, buffer)
Proxmox/KVMMemory + 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-hardware current

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%
Terminology layer

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.

Aliases that resolve here
vm memoryvirtual machine ramguest memory configuration
Embedded reference data

Quick lookup tables

VM Hardware → Memory reference map

Fast VM-hardware boundaries for VM Hardware → Memory.

BoundaryMeaningEvidence limit
Configured memoryGuest memory policy/limitControl-plane value
Host backingPhysical/virtual host pagesCan vary
Guest memoryOS-visible/managed RAMGuest perspective
WorkloadConsumes memoryOutcome must be measured
Confirmation

Confirm action

Continue?