Investigating hosted virtual machine resources
search cancel

Investigating hosted virtual machine resources

book

Article ID: 340601

calendar_today

Updated On: 03-31-2025

Products

VMware VMware Desktop Hypervisor

Issue/Introduction

This article guides through the process for determining if a lack of resources on the host is causing problems with a virtual machine operation. A lack of host resources can cause problems both in a virtual machine's guest operating system and on the host itself.

Symptoms:
A virtual machine:

  • Cannot be powered on.
  • Cannot be resumed.
  • Cannot be suspended.
  • Cannot perform a snapshot operation.
A guest Operating System:
  • Has stopped responding
  • Has performance problems

Environment

VMware vSphere ESXi 6.5.x
VMware vSphere ESXi 6.7.x
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x

Cause

The steps outlined here help to identify whether a problem is related to insufficient host memory or CPU.

Resolution

To determine if the host has enough resources to support the assigned virtual machines, consider both the amount of RAM and CPU.
 
Note: The following procedures must all be done when the affected virtual machine is powered off.
 
For each of these resources:
  1. Total the amount of the resource assigned to all virtual machines that can be powered on at the same time. If different combinations of virtual machines can be powered on at different times, use the highest total  
  2. Add to this the amount of the resource required by the host for its own operations
     
  3. If this total is more than the amount of the resource available on your host, do one of the following:
    • Reduce the number of virtual machines powered on at the same time on this host
    • Reduce the amount of this resource assigned to the virtual machines
    • Increase the amount of this resource installed on the host

      Note: Alternatively, the host hardware can be upgraded with more or faster CPUs.

If it has been determined that there are sufficient free resources on the host but are still experiencing a problem with the host operating system or one of the virtual machine's guest operating systems, verify that the operating system itself isn't experiencing a problem. For more information, see Verifying the health of an operating system (1003956).

Additional Information