If an ESX/ESXi host fails, and that host had running virtual machines that were using swap files, those swap files continue to exist and take up disk space even after the ESX/ESXi host restarts. These swap files can consume many gigabytes of disk space so ensure that you delete them properly.

1

Restart the virtual machine that was on the host that failed.

2

Stop the virtual machine.

The swap file for the virtual machine is deleted.