Page 1 of 1

Help needed: lock memory error

Posted: 10. May 2013, 11:31
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)

Re: Help needed: lock memory error

Posted: 10. May 2013, 12:02
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.

Re: Help needed: lock memory error

Posted: 10. May 2013, 12:33
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

Re: Help needed: lock memory error

Posted: 10. May 2013, 13:26
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.

Re: Help needed: lock memory error

Posted: 25. May 2013, 17:27
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.

Re: Help needed: lock memory error

Posted: 25. May 2013, 17:37
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.