Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Memory Pressure

Direct answer

Memory pressure is the state where VM demand approaches host RAM, so the host starts reclaiming with ballooning, compression and swapping. Watch active memory, balloon size and swap rates, not only consumed memory.

When to use this

Use this when hosts start reclaiming memory and you need to find the cause before performance drops.

First 30 seconds

1. Memory pressure = demand near or over supply.

2. Signals: PSI, ballooning, swapping, page faults.

3. Find the VM(s) driving demand.

4. Rebalance or add RAM.

5. Alert before swap.

Operational verification

demand ↑ → reclaim → pressure metrics

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Watching only guest memory, missing host-level reclaim.
  • Treating ballooning as a problem by itself — host swapping is the real danger.
  • Adding RAM to the busiest VM, which increases host pressure.
  • Not separating memory-heavy VMs across hosts.
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 hosts start reclaiming memory and you need to find the cause before performance drops.
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.

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 Checks Verify boundary
PlatformPressure signs
ESXiHost memory state soft/hard/low, MCTL, SWCUR, ZIP
KVM/proc/pressure/memory (PSI), swap in/out, KSM activity
Hyper-VMemory\Available MBytes on host, VM MemoryStatus

PSI some avg10 above a few percent means tasks are stalling on memory.

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
  • Pressure shows first as ballooning.
  • Swap-in rate shows user impact.
  • Consumed memory alone misleads.
Key checks
  • cat /proc/pressure/memory — PSI memory pressure (host)
  • virsh dommemstat <vm> — VM swap/major faults
  • Get-Counter '\Hyper-V Dynamic Memory VM(*)\Average Pressure' — Hyper-V pressure
ReferenceWhy it matters1 section · depth on demand

Reclaim order and signs

Hypervisors reclaim in roughly this order: page sharing → ballooning → compression → host swapping. Ballooning is mostly harmless; compression and especially host swapping cause severe latency.

PlatformWhere to look
ESXiesxtop memory view: MCTL (balloon), ZIP, SWCUR, SWR/s
KVM/Proxmoxfree, /proc/meminfo, virsh dommemstat <vm>
Hyper-VHyper-V Dynamic Memory counters, Get-VM | Select MemoryDemand,MemoryAssigned
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Memory pressure builds in stages: free memory falls → page sharing and ballooning increase → compression → host swapping. Each stage costs more performance.

PlatformState indicators
VMwareHost memory state: high / clear / soft / hard / low
KVM/proc/pressure/memory (PSI), free memory, KSM, balloon
Hyper-VMemory demand vs assigned, Average Pressure counter
cat /proc/pressure/memory          # some/full avg10 > a few % = stalls
Get-Counter '\Hyper-V Dynamic Memory VM(*)\Average Pressure'

Hyper-V Average Pressure above 100 means demand exceeds assigned 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 Pressure. Documentation verification only; this is not observed lab or production Evidence.

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

Confirm action

Continue?