We created a qcow2 based-image for a VM whose size is big when it is created. When a VM is launched, it is a instance VM image which refers to the based-image. Initially, the image size of instance VM is smaller than that of the based-mage.
But we found the image size of the instance VM kept growing, when a VM ran in idle state. We doubted this issue is caused by the Windows swap file(virtual memory) that Windows OS pages the memory contents to it during the run-time. We did disable the swap
file setting from Windows but the image size of the instance VM still kept growing.
Ideally, the image size of instance VM is supposed to remain in a smaller size than the based-image. Why does it keep growing in size which is even bigger than that of based-image? Our VM, in fact, did nothing during the idle state.