"Unable to allocate and lock memory virtualbox"

This is for discussing general topics about how to use VirtualBox.
Post Reply
Phoxlox
Posts: 1
Joined: 19. Sep 2017, 01:40

"Unable to allocate and lock memory virtualbox"

Post 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.
Attachments
Oracle-2017-09-26-13-32-31.log
Log from the error
(73.11 KiB) Downloaded 66 times
Last edited by Phoxlox on 26. Sep 2017, 18:35, edited 2 times in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: "Unable to allocate and lock memory virtualbox"

Post 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.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: "Unable to allocate and lock memory virtualbox"

Post 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...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply