Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Memory Overcommit · Memory

Direct answer

Memory overcommit is a capacity policy: the sum of configured VM memory can exceed physical RAM. Actual safety depends on active working sets, reservations, ballooning, sharing, compression or swapping mechanisms available on the platform.

When to use this

Use it when consolidation ratios exceed physical RAM or when investigating memory contention caused by concurrent demand.

First 30 seconds

1. Memory overcommit allocates more than physical RAM.

2. Reclaim order: sharing, ballooning, compression, swap.

3. Host swap is very slow.

4. Keep committed memory under a ratio.

5. Monitor reclaim metrics.

Operational verification

allocations > RAM → reclaim → performance impact

Evidence · next step

Test peak/failover demand and tune guarantees/density based on measured pressure.

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

It does not show a universal safe ratio or future headroom under different workload/failure conditions.

Next check: Test peak/failover demand and tune guarantees/density based on measured pressure.

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 when consolidation ratios exceed physical RAM or when investigating memory contention caused by concurrent deman…
What next?3 suggested next steps
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.

3 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

aggregate VM claims → concurrent demand → reclamation/backing → host physical RAM → guest pressure → workload

Step 2 Effective-state and workload closure Verify boundary

Local intent: Memory Overcommit configures aggregate VM memory claims above physical host RAM, relying on non-concurrent demand and platform reclamation/backing mechanisms.

Step 3 Branching troubleshooting Narrow the fault

Path: Virtualization → Memory → Memory Overcommit. Local intent: Memory Overcommit configures aggregate VM memory claims above physical host RAM, relying on non-concurrent demand and platform reclamation/backing mechanisms.

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
Key points
  • Overcommitment does not create physical memory.
  • Configured totals alone do not prove pressure; concurrent working sets matter.
  • Memory overcommit has stronger failure/latency consequences than simply time-slicing idle CPU.
  • Reservations/guarantees reduce the capacity available for overcommit.
Key checks
  • virsh nodememstats — host memory
  • esxtop (memory view: MCTLSZ, SWCUR) — ESXi balloon and swap
  • free -m — host free/available
ReferenceWhy it matters1 section · depth on demand

Internals and state

Local intent: Memory Overcommit configures aggregate VM memory claims above physical host RAM, relying on non-concurrent demand and platform reclamation/backing mechanisms.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

A high configured ratio does not show contention, while low average demand does not show peak-time headroom.

Deep overcommit/reclamation belongs to Memory Virtualization and Capacity Planning.

and state what the evidence does not show.

Worked example

Memory overcommit lets the sum of configured VM memory exceed host RAM. The hypervisor reclaims memory in order of cost:

TechniqueCost
Page sharing (KSM/TPS)CPU for scanning; little guest impact
BallooningGuest pages out its own least-useful memory
Compression (VMware)CPU, small latency
Host swappingSevere: guest memory on disk

Worked example: 256 GB host, 40 VMs × 8 GB = 320 GB configured (1.25:1). If active memory averages 5 GB per VM (200 GB) the host copes; during a patch day with every VM busy it will balloon and possibly swap. Keep production at ~1:1 configured or ensure ballooning can cover the gap.

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 → Memory Overcommit. 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
memory overcommit vmram overcommitmemory oversubscription virtualization
Embedded reference data

Quick lookup tables

VM Hardware → Memory → Memory Overcommit reference map

Fast VM-hardware boundaries for VM Hardware → Memory → Memory Overcommit.

BoundaryMeaningEvidence limit
Configured claimsSum of VM memory settingsCan exceed RAM
Active demandConcurrent working setsDrives real pressure
Physical RAMFinite backing boundaryShared resource
ReclamationBalloon/share/swap/etc.Can add latency
Confirmation

Confirm action

Continue?