VirtualBox error: Unable to allocate and lock memory. The virtual machine will be paused
My VM paused in between with the below error
Unable to allocate and lock memory. The virtual machine will be paused. Please close applications to free up memory or close the VM.
Error ID: HostMemoryLow
Severity: Non-Fatal Error
How to resolve this?
This error is thrown because the host memory is not sufficient for the VM to run. Close all the applications running on your host machine and just run the VM. The best option will be to increase the RAM of your system and further increase the RAM provided to the VM.