a method and a system of making a virtual machine space efficient are disclosed . the virtual machine includes a virtual disk . the method includes creating a temporary virtual disk and adding the temporary virtual disk to the virtual machine . the temporary virtual disk works in conjunction with the virtual disk . the virtual machine is configured to store temporary files in the temporary virtual disk rather than the virtual disk .