The VM memory is too large to be restored and cannot be closed. Solution: When you install the service in the VM today, because the service requires the memory to increase, the memory is increased in the VM. However, it is too large to cause the virtual machine to crash as soon as it is started. So I want to reduce the memory of the virtual machine, but the memory adjustment is gray and cannot be adjusted. What should I do? So I searched the network again. Some people mentioned that the memory cannot be adjusted when the virtual machine is suspended. I immediately checked the status of the virtual machine and it was suspended. If you turn off the virtual machine, it will not be suspended! Switch to the power menu. The result is dizzy! In the menu, you can click "Recover" or "Recover client", and others are gray. The VM cannot be closed !! What should we do? I don't want to reload the VM once! If you think about it, let's change your mind and think about whether to convert the virtual machine from suspended to normal. The Virtual Machine is saved as a file, so the corresponding configuration information must also be saved as a file. Maybe you just need to change the configuration in a file. I searched the internet and found that the suspended state is saved in a file with the. vmss suffix (this file may be a hidden file). I just need to delete the file and it will be OK. The VM is suspended. In this case, it is best to remove the original virtual machine from the favorites folder and then re-open it. The Virtual Machine is finally normal, so the memory of the virtual machine is reduced and immediately restarted. At this time, another problem is encountered !! The figure is as follows.
Looking at the prompt, I want to allow more virtual machines to swap memory. After I think about it again, I remember that there seems to be such an option in the virtual machine parameters. Click Edit> parameters in the VM menu. The parameter menu is displayed, as shown in the following figure. Adjust the memory> extra memory to "allow most Virtual Machine memory swap. Restart the VM. It's normal !!