Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Memory Hot Add

Direct answer

Hot-add expands the memory presented to the guest at runtime. The platform may have limits on maximum size, NUMA topology, slot layout or which guest OS can online the added memory.

When to use this

Use it when planning online VM memory expansion or diagnosing why a runtime memory increase is not visible/usable in the guest.

First 30 seconds

1. Memory hot add needs guest support and configured maximum.

2. Linux may need memory blocks onlined.

3. Hot remove is less reliable.

4. Plan maximum in advance.

5. Verify in guest.

Operational verification

hotplug enabled → memory added → guest onlines

Evidence · next step

Check runtime placement/NUMA and workload behavior under peak use.

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

It does not show optimal NUMA locality, unlimited future expansion or absence of host pressure.

Next check: Check runtime placement/NUMA and workload behavior under peak use.

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 planning online VM memory expansion or diagnosing why a runtime memory increase is not visible/usable in th…
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 Verification path Verify boundary

hot-add capability → runtime memory add → guest enumeration/online → allocator/application → workload

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
  • Hypervisor acceptance does not guarantee guest online/usable memory.
  • Hot-add capability may need to be enabled before VM boot.
  • Topology/NUMA can change when memory is expanded.
  • Applications may not automatically exploit added memory.
Key checks
  • virsh setmem <vm> 8G --live — change memory live within max
  • qm set <vmid> --memory 8192 — Proxmox with hotplug enabled
  • Set-VMMemory <vm> -StartupBytes 8GB — Hyper-V runtime resize (Gen2, 2016+)
ReferenceHow it works1 section · depth on demand

How it works

How it works: Guest virtual memory maps through guest page tables and virtualized MMU/EPT/NPT to host physical memory.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

A successful management operation shows the hypervisor accepted the change, not that the guest or application can use the memory.

Platform-specific hot-add and NUMA constraints belong to Memory Virtualization/platform branches.

and state what the evidence does not show.

In depth

Memory hot add increases a running VM's memory. Platforms: VMware (enable while powered off), Hyper-V (static memory can be increased or decreased while running on Gen 2 with Server 2016+), Proxmox (hotplug: memory with NUMA enabled).

Set-VMMemory vm1 -StartupBytes 24GB         # running Gen 2 VM, static memory
qm set 120 --hotplug disk,network,usb,memory --numa 1 --memory 24576

Linux guests may need memory blocks onlined (auto_online_blocks / udev rule); verify with free -h and lsmem.

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 Hot Add. 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 hot addram hotplug vmhot add memory virtual machine
Embedded reference data

Quick lookup tables

VM Hardware → Memory → Memory Hot Add reference map

Fast VM-hardware boundaries for VM Hardware → Memory → Memory Hot Add.

BoundaryMeaningEvidence limit
Feature enabledVM allows memory hot-addPrerequisite
Runtime addHypervisor expands mappingControl plane
Guest onlineOS can use new memoryGuest proof
ApplicationCan consume expanded memoryWorkload proof
Confirmation

Confirm action

Continue?