Back to Blog

Finding Why a Hyper-V VM Won't Start When the Host Has Free Memory

Christopher 6 min read
windowshyper-vtroubleshooting

A Hyper-V host can refuse to start a virtual machine with a memory error while Task Manager shows plenty of memory free. Microsoft documents two reasons for this. The host reserves memory for itself that Task Manager still counts as available. A host with NUMA spanning turned off also has to fit each virtual NUMA node of the VM inside one physical NUMA node. This post covers how to read the error in the Hyper-V logs, how to check the memory Hyper-V can actually give a new VM, and how to fix each cause.

A recent r/homelab thread describes a host with 256 GB of memory where whichever VM starts last fails with an out-of-memory error. The VMs together need far less than the installed memory. A last-started VM failing while the others run most likely fits NUMA spanning being off.

Read the start failure in the Hyper-V logs

The Hyper-V Manager error says the VM could not initialize, followed by "Not enough memory in the system to start the virtual machine". The logs hold more detail than the dialog. The exact Hyper-V log names on a host can be listed with Get-WinEvent.

Get-WinEvent -ListLog *Hyper-V* | Where-Object RecordCount -gt 0 | Select-Object LogName,RecordCount

Pull the start failures from the Virtual Machine Management Service admin log.

Get-WinEvent -FilterHashtable @{LogName='Microsoft-Windows-Hyper-V-VMMS-Admin'; Id=19544} -MaxEvents 10 | Select-Object TimeCreated,Message

Event 19544 reads "Failed to start the virtual machine" with the VM name, the memory it required in MB, and the memory that was available in the system. When the available figure is lower than what Task Manager showed at the same time, the host reservation or another process on the host holds the difference.

A NUMA placement failure has its own message. A Windows Server 2025 report shows it as event 10002 in the Hyper-V Compute admin log.

Get-WinEvent -FilterHashtable @{LogName='Microsoft-Windows-Hyper-V-Compute-Admin'; Id=10002} -MaxEvents 10 | Select-Object TimeCreated,Message

Event 10002 says "The virtual machine NUMA topology requirements cannot be satisfied by the server NUMA topology." and suggests enabling NUMA spanning.

Check the memory Hyper-V can give a new VM

Microsoft's article on this error says the memory available to start a VM differs from the available memory in Task Manager. It points to the "Available Memory" counter of the "Hyper-V Dynamic Memory Balancer" object, instance "System Balancer".

Get-Counter '\Hyper-V Dynamic Memory Balancer(System Balancer)\Available Memory'

The counter value depends on the memory used by applications on the host and by each VM worker process (vmwp.exe). Compare it with the startup memory of the VM that fails.

Cause one: NUMA spanning is off

Check the spanning setting and the free memory on each physical NUMA node.

Get-VMHost | Select-Object NumaSpanningEnabled
Get-VMHostNumaNode | Select-Object NodeId,MemoryAvailable,MemoryTotal

MemoryAvailable and MemoryTotal are in MB. NUMA spanning is on by default. Microsoft's Hyper-V Virtual NUMA overview says that with spanning off, a VM fails to start if any of its virtual NUMA nodes can't be placed entirely within one physical NUMA node. A VM with Dynamic Memory also can't use more memory than one physical node has. The VMs that start first can fill one node, so the last VM to start fails even though another node has free memory.

I'd turn spanning back on unless a workload on the host was set up to need it off. Enable "Allow virtual machines to span physical NUMA nodes" under "NUMA Spanning" in Hyper-V Settings, or set it from PowerShell.

Set-VMHost -NumaSpanningEnabled $true
Restart-Service vmms

Restarting the Virtual Machine Management Service applies the change. Running VMs keep running through the service restart. Start the failed VM again and run the Get-VMHostNumaNode check to see which node it took memory from.

Spanning lets a virtual NUMA node use memory on a remote physical node, which has a performance cost for the VM. When spanning has to stay off, resize the VM so each of its virtual NUMA nodes fits in the free memory of one physical node, or move a VM off the full node.

Cause two: the host or a host application holds the memory

When spanning is on and event 19544 still reports less available memory than Task Manager, the difference is on the host. Microsoft's article says the host reserves the minimum memory needed for the host OS and its applications when it starts. Its workaround is to free memory on the host or resize the VM to what the "System Balancer" counter shows.

List the host processes with the most committed memory.

Get-Process | Sort-Object PagedMemorySize64 -Descending | Select-Object -First 10 Name,Id,@{n='CommitMB';e={$_.PagedMemorySize64/1MB}}

One Microsoft Q&A thread traced the error to a database server on the host that reserved up to half of physical memory for its cache by default. Capping that cache in the application's own settings let the VM start. Move a memory-heavy application like that database server into a VM, or cap its memory use in its own configuration.

Confirm the VMs start in any order

Stop one VM and start the one that failed, then start the rest. Run the Get-Counter and Get-VMHostNumaNode checks again with every VM running. Each node should still show free memory. No new 19544 or 10002 events should appear.

Where ET Ducky shows it

I build ET Ducky. You can open a Live Session shell to the Hyper-V host from the browser without the need for a VPN and run the Get-WinEvent, Get-Counter, and Get-VMHostNumaNode checks there.

Try it on one server

One Windows or Linux server costs $5 a month with no query subscription.

See pricing