Help needed: lock memory error

Discussions related to using VirtualBox on Windows hosts.
Post Reply
pslogc
Posts: 3
Joined: 10. May 2013, 11:24

Help needed: lock memory error

Post by pslogc »

Hi,

I´m triying to deploy a Linux VirtualBox instance on a Windows 7 Prof. Edition. (Intel core i5 with RAM 8GB and 4gb for VM.), but in a part of the process I get the memory error.

00:09:06.043869 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"
00:09:06.043984 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'.

I see on log details:
00:00:03.281078 Host RAM: 8102MB total, 5547MB available
00:00:04.020236 RamSize <integer> = 0x0000000100000000 (4 294 967 296, 4 GB)
Attachments
VBox.log
lock memory error log details
(98.95 KiB) Downloaded 13 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Help needed: lock memory error

Post by mpack »

According to the log the host only has 5GB actually available, so try cutting the VMs memory allocation to 2GB. That should be ample for most guest OS.
pslogc
Posts: 3
Joined: 10. May 2013, 11:24

Re: Help needed: lock memory error

Post by pslogc »

Ok thanks.

This is a machine with a PeopleSoft environment included, requires 4GB at least.
But, I will try and give a feedback,

Regards,

Jean Carlo
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Help needed: lock memory error

Post by mpack »

4GB is almost enough to cache an entire single sided DVD in RAM. I find it hard to believe that any single application requires that much RAM (other than VBox of course), but perhaps that just makes me old fashioned.
pslogc
Posts: 3
Joined: 10. May 2013, 11:24

Re: Help needed: lock memory error

Post by pslogc »

Hi,

Requirements is for a complete PeopleSoft92 environment, and it uses almost a oracle database, application server and a web server, this sis the reson for that memory requirements.
I continue having the error, It is extrange because my laptop shows a black screen when the virtualbox change from running to shutdown.

Well, I attached the screenshot with the error.

Someone knows, If any incompatibility sorfware could cause this problem? May be antivirus, etc, etc.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Help needed: lock memory error

Post by Perryg »

The log you supplied is pretty clear and it states that you do not have enough free memory so the vm will be paused.

Unless you can provide another log that shows you have enough contiguous memory there isn't much that can be done.

As for why the 4GB? That's because it is a requirement. Oracle VM requires 4GB as a minimum as well all because of the Oracle database. Since Oracle bought peoplesoft.... well you get the picture.
Post Reply