Use it when the symptom is “High Memory Usage”: work through the layers in order and stop at the first one that fails.
High Memory Usage
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.
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.
app → guest memory → host memory
Context & applicabilityCommon mistakes · platform/version boundaries
High memory usage describes consumption at one layer, but it does not show pressure, leak, reclaim or the performance bottleneck.
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
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 · 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.
- 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.
free -m; top -o %MEM— guest memoryvirsh dommemstat <vm>— host viewGet-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:
| Observation | Meaning |
|---|---|
| Guest shows high used but large cache, no swapping | Normal |
| Guest swapping / page faults | VM undersized or memory leak |
| Host consumed high, active low | Normal for long-running VMs |
| Host ballooning/swapping | Host overcommitted |
| Memory grows steadily until restart | Application 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
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 Virtualization Troubleshooting → High Memory Usage. 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
Virtualization Troubleshooting → High Memory Usage troubleshooting map
Fast fault-isolation boundaries and proof limits for Virtualization Troubleshooting → High Memory Usage.
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Symptom/scope | Exact failing test, affected VM/host/cluster and incident time are defined | Symptom classification does not identify root cause |
| Observed boundary | Configuration, runtime and counters/logs for this Virtualization Troubleshooting → High Memory Usage boundary are time-correlated | One healthy or failed status does not prove adjacent dependencies |
| Adjacent dependency | The next host, storage, network, device, guest or cluster dependency is tested independently | Local success does not prove end-to-end health |
| Verification | The original workload test succeeds after one controlled change and remains healthy in regression checks | Temporary recovery alone is not durable proof |