

Either way, cleaning up virtual machines works like a charm.when you have Windows as a guest operating system with an NTFS disk.Īs a developer, I have several VMs with various Linux-based guest OSes - and, for some reason, VMware doesn't know how to optimize these. VMware can be set to automatically optimize and shrink virtual hard disks as you add and, more importantly, remove files - but this automatic "clean up" setting is disabled by default. 60 GB is simply the maximum amount of storage allowed if your guest operating system and its files amount to 20 GB, the VMDK file will simply be 20 GB. You'll notice that even if you create a virtual machine with a capacity of 60 GB, for example, the actual size of the VMDK file will dynamically resize to fit the usage of the guest operating system.

On Windows virtual machines, VMware has a "clean up" function, which detects newly unused space and makes the size of the virtual hard disk smaller accordingly. VMware Workstation and Fusion normally work hard to minimize the size of virtual hard disks for optimizing the amount of storage needed on your host machine.
