Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Memory Overcommit · Memory Virtualization

Direct answer

Memory overcommit assigns more RAM to VMs than the host physically has, relying on unused memory, page sharing and ballooning. It raises density, but heavy use leads to host swapping and severe performance loss.

When to use this

Use this when deciding whether to assign more memory to VMs than the host has.

First 30 seconds

1. Memory overcommit relies on reclaim.

2. Keep it modest; prefer right-sizing.

3. HA failover adds load.

4. Watch ballooning and swap.

5. Static memory for critical VMs.

Operational verification

allocated > RAM → reclaim

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Overcommitting without balloon drivers in guests.
  • Overcommitting VMs with large reservations or pinned memory.
  • Planning on averages; memory peaks often line up (backups, patching).
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 this when deciding whether to assign more memory to VMs than the host has.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
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
  • Works only while not all VMs need their RAM.
  • Swapping is the failure mode.
  • Don't overcommit latency-sensitive VMs.
Key checks
  • virsh nodememstats — committed vs physical
  • esxtop — MCTL, SWCUR, ZIP
  • Get-VM | measure MemoryAssigned -Sum — Hyper-V assigned total
ReferenceWhy it matters1 section · depth on demand

Overcommitting safely

  • Start with a ratio near 1:1 for production; overcommit only when active memory is clearly below configured memory.
  • Install balloon drivers/guest tools in every VM.
  • Watch balloon and swap metrics; any host swapping means the ratio is too high.
  • Do not overcommit hosts running databases or latency-sensitive VMs; use reservations there.
ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Memory overcommit at the virtualization layer means configured VM memory exceeds host RAM. It works when VMs' active memory is lower than configured and reclaim techniques (sharing, ballooning, compression) can close the gap before host swapping starts.

Watch the ratio of active (or consumed) memory to host RAM, not configured to RAM. When a host fails in an HA cluster, the survivors suddenly carry more VMs — design overcommit so that the failover state still fits without swapping.

Signs you went too far

  • Sustained ballooning on many VMs.
  • Host swapping or compression (ESXi SWCUR/ZIP > 0).
  • Guest paging and slow applications.
  • HA admission control blocking power-on after a host failure.

Overcommit is safest with many similar VMs and when active memory is well below configured memory.

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 Memory Virtualization → Memory Overcommit. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Confirmation

Confirm action

Continue?