When a virtual machine is powered on, the system creates a VMkernel swap file to serve as a backing store for the virtual machine's RAM contents. You can accept the default swap file location or save the file to a different location. By default, the swap file is stored in the same location as the virtual machine's configuration file.
- Right-click a virtual machine in the inventory and select Edit Settings.
- Click the VM Options tab and expand Advanced.
- Select a swap file location option.
Stores the virtual machine swap file at the default location defined by the host or cluster swap file settings.
Always store with the virtual machine
Stores the virtual machine swap file in the same folder as the virtual machine configuration file.
Store in the host's swapfile datastore
If the host or cluster settings define a location for the swap file, this location is used. Otherwise, the swap file is stored with the virtual machine.
- Click OK.