Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Error Starting a Virtual Machine: Not enough memory

Details

When I try to start a new virtual machine, ESX Server says I don't have enough memory.

Solution

The memory management system in ESX Server allows you to control a number of parameters that affect the amount of memory available to each virtual machine. Here are a few things you should check.

  • Be sure you have installed VMware Tools in all your virtual machines. The VMware Tools package includes a component that helps reclaim unused memory so you can run more virtual machines at the same time.
  • Allow one virtual machine to finish booting its guest operating system before starting the next one. This ensures that the memory management component of VMware Tools is running. You may need to wait a few additional seconds to give the memory management system time to reclaim unused memory from running virtual machines.
  • Adjust the memory settings for all running virtual machines. Pay particular attention to the minimum memory set for all machines. You need at least enough physical memory on the server to accommodate the ESX Server virtualization layer (approximately 24MB), the console operating system, memory overhead for all running virtual machines and the minimum memory set for all running virtual machines.

    When you set memory for the console operating system, follow these guidelines:

    • 128MB for <= 4 virtual machines
    • 192MB for <= 8 virtual machines
    • 272MB for <= 16 virtual machines
    • 384MB for <= 32 virtual machines
    • 512MB for > 32 virtual machines

      Plan for each virtual machine's overhead memory according to the following guidelines: A virtual machine configured with less than 1GB of memory requires 32MB of overhead memory. Larger virtual machines require an additional 4MB of overhead memory per additional gigabyte of configured main memory. For example, a virtual machine with a configured maximum memory size of 2GB requires 36MB of overhead memory.

      You can adjust the minimum memory setting for a virtual machine using the VMware Management Interface - in the RAM section of the Resource Editor page. On the server's Overview page, click Manage Resources. The Resource Monitor page appears. Click Edit Resources under the name of the virtual machine for which you want to change the setting. Enter the desired setting, then click Save Changes.

See the section Sizing Memory on the Server in your ESX Server manual for more detailed information.

Keywords

.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback


Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
Actions
KB: