Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

High Memory Usage

Direct answer

Trace memory from guest demand to host backing: guest committed/working set → virtual memory allocation → balloon/reclaim policy → host resident memory/NUMA → swap or pressure → workload latency.

When to use this

Use it when the symptom is “High Memory Usage”: work through the layers in order and stop at the first one that fails.

First 30 seconds

1. High memory: real demand, leak, or cache?

2. Check available, not used.

3. Check ballooning/swap.

4. Check host pressure.

5. Right-size or fix the app.

Operational verification

app → guest memory → host memory

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

High memory usage describes consumption at one layer, but it does not show pressure, leak, reclaim or the performance bottleneck.

Platform / version applicability
virtualization
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
Scope / prerequisiteUse it when the symptom is “High Memory Usage”: work through the layers in order and stop at the first one that fails.
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.

2 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

Guest allocation/demand → virtual memory policy → balloon/reclaim → host RAM/NUMA → swap/pressure → guest progress → workload

Step 2 Troubleshooting order Narrow the fault

1. Guest: is the application using memory (working set) or is it cache? (free -m, Task Manager → Committed).

2. Guest paging? → more RAM or fix the application.

3. Host: ballooning/compression/swapping for this VM?

4. Limits or reservations misconfigured?

5. Host total and other VMs; NUMA locality.

Remember that hypervisor "consumed" memory includes guest cache and can look high while the guest is fine.

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
  • High guest memory use ≠ memory leak; cache and productive working set can legitimately consume available RAM.
  • Allocated VM memory ≠ resident host memory, especially with dynamic memory, ballooning, sharing or sparse backing.
  • Host free memory low ≠ immediate failure; pressure, reclaim, swap and workload latency determine impact.
  • Adding memory ≠ proof of root cause unless paging/reclaim/latency evidence changes with the workload.
Key checks
  • free -m; top -o %MEM — guest memory
  • virsh dommemstat <vm> — host view
  • Get-VM <vm> | fl MemoryAssigned,MemoryDemand — Hyper-V
ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

High memory usage describes consumption at one layer, but it does not show pressure, leak, reclaim or the performance bottleneck.

and state what the evidence does not show.

Method

High memory usage — decide whose problem it is:

ObservationMeaning
Guest shows high used but large cache, no swappingNormal
Guest swapping / page faultsVM undersized or memory leak
Host consumed high, active lowNormal for long-running VMs
Host ballooning/swappingHost overcommitted
Memory grows steadily until restartApplication leak
free -h; vmstat 5; smem -tk | tail          # Linux guest
Get-Process | Sort WS -Desc | Select -First 10  # Windows guest
esxtop (m): MCTLSZ, SWCUR, ZIP/s
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 current

Authoritative/upstream documentation reviewed for bounded claims in Virtualization Troubleshooting → High Memory Usage. 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 high memoryvirtual machine memory highguest ram highhypervisor memory troubleshooting
Embedded reference data

Quick lookup tables

Virtualization Troubleshooting → High Memory Usage troubleshooting map

Fast fault-isolation boundaries and proof limits for Virtualization Troubleshooting → High Memory Usage.

BoundaryWhat to verifyEvidence limit
Symptom/scopeExact failing test, affected VM/host/cluster and incident time are definedSymptom classification does not identify root cause
Observed boundaryConfiguration, runtime and counters/logs for this Virtualization Troubleshooting → High Memory Usage boundary are time-correlatedOne healthy or failed status does not prove adjacent dependencies
Adjacent dependencyThe next host, storage, network, device, guest or cluster dependency is tested independentlyLocal success does not prove end-to-end health
VerificationThe original workload test succeeds after one controlled change and remains healthy in regression checksTemporary recovery alone is not durable proof
Confirmation

Confirm action

Continue?