Page 1 of 1

"Unable to allocate and lock memory virtualbox"

Posted: 19. Sep 2017, 01:49
by Phoxlox
I'm trying to emulate Windows XP through Virtual Box with the latest version of it. But when I start the system, it appears Welcome to Windows XP and ends up crashing, appearing the error in the title. How can I fix it?

The specs from the Windows XP emulated :

System operational : Windows XP 32 bits
Principal memory : 2048 MB
Processors : 2

PS: As I am a new member in the forum, I still can't upload URLs/Images, so sorry if I can't give so much details beyond that description.

Re: "Unable to allocate and lock memory virtualbox"

Posted: 19. Sep 2017, 02:37
by Perryg
Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.

Re: "Unable to allocate and lock memory virtualbox"

Posted: 30. Sep 2017, 21:38
by socratis
00:00:02.451647 Host RAM: 3993MB (3.9GB) total, 1513MB available
00:00:02.662167 RamSize  <integer> = 0x0000000064000000 (1 677 721 600, 1 600 MB)
00:00:02.662424 VRamSize <integer> = 0x0000000001000000 (16 777 216, 16 MB)
00:00:22.637843 Console: VM runtime error: fatal=false, errorID=HostMemoryLow
                message="Unable to allocate and lock memory. The virtual machine will be paused.
                Please close applications to free up memory or close the VM"
You are assigning memory to your guest, that you do not have available. Either close some applications on the host, buy more RAM for the host, or reduce the amount of RAM assigned to the guest.

PS. Editing a message does not notify anyone about the editing. You should have posted a new message with the log info.
PPS. You missed the "compress the log" part...