[Solved] A critical error has occurred while running the VM

Discussions related to using VirtualBox on Windows hosts.
genbusu
Posts: 11
Joined: 30. May 2014, 11:56

Re: A critical error has occurred while running the virtual

Post by genbusu »

In both logs, in the first line, you ca see the following : "VirtualBox VM 4.3.12 r93733 win.amd64 " , so it's clear it's for 4.3.12.

Any ideas?

Manny thanks
Eugen
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: A critical error has occurred while running the virtual

Post by socratis »

No they are not. The "logs02.06.zip" file is exactly the same from your post on 2/Jun/2014, 12:40. Maybe you attached the wrong log file?

Also, I can't figure out how can you have 8101 MB memory installed on the host. It does not compute! No combination of sums of powers of 2 can give you this number. Unless you have 8192 installed and 91 (?) of them are taken by the on-board graphics card?
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.
genbusu
Posts: 11
Joined: 30. May 2014, 11:56

Re: A critical error has occurred while running the virtual

Post by genbusu »

Can you check this 2 logs attached now please?

The VBox.log is from the ol6-121-rac2 node.
The VBox - ol6-121-rac1.log is from the other node and where I can see the following:

01:31:15.551630 VM: Raising runtime error 'HostMemoryLow' (fFlags=0x2)
01:31:15.552572 AssertLogRel D:\tinderbox\win-4.3\src\VBox\VMM\VMMR3\VMM.cpp(1756) int __cdecl VMMR3EmtRendezvous(struct VM *,unsigned int,int (__cdecl *)(struct VM *,struct VMCPU *,void *),void *): !pVCpu->vmm.s.fInRendezvous
01:31:15.553419 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"
01:31:15.560595 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'.
01:33:08.904076 Console::powerDown(): A request to power off the VM has been issued (mMachineState=Stopping, InUninit=0)
01:33:08.912065 Changing the VM state from 'GURU_MEDITATION' to 'POWERING_OFF'.
01:33:08.912324 ****************** Guest state at power off ******************

I have 8GB RAM on the host. I have 2 vm's (ol6-121-rac1, ol6-121-rac2) and I have assigned 3 GB for each of them.

Thank you
Eugen
Attachments
VBox - ol6-121-rac1.log
(111.93 KiB) Downloaded 27 times
VBox.log
(76.81 KiB) Downloaded 25 times
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: A critical error has occurred while running the virtual

Post by noteirak »

01:31:15.495159 PGM: Failed to procure handy pages; rc=VERR_NO_MEMORY rcAlloc=VINF_SUCCESS rcSeed=VINF_SUCCESS cHandyPages=0x8
01:31:15.506554 cAllPages=0xbd488 cPrivatePages=0xa8748 cSharedPages=0x0 cZeroPages=0x14cda
01:31:15.542110 GMM: Statistics:
01:31:15.542112 Allocated pages: a774c
01:31:15.542114 Maximum pages: bc49e
01:31:15.542115 Ballooned pages: 0
01:31:15.551630 VM: Raising runtime error 'HostMemoryLow' (fFlags=0x2)
VirtualBox VM 4.3.12 r93733 win.amd64 (May 16 2014 13:57:11) release log
00:00:01.285586 Log opened 2014-06-03T07:06:33.178916700Z
00:00:01.301563 Host RAM: 8101MB total, 5038MB available
VirtualBox VM 4.3.12 r93733 win.amd64 (May 16 2014 13:57:11) release log
00:00:01.172615 Log opened 2014-06-03T07:06:37.231431300Z
00:00:01.187718 Host RAM: 8101MB total, 5010MB available
Well the error is pretty straight forward : you don't have enough memory.
When you start both VMs with 4 sec interval, you only have 5GB free at that time.
Both machines are set to use 2GB RAM, not including the virtualization overhead. you're at least at 4.5GB used with both, maybe 5GB.
And that's where the cookie crumble...

Earlier conclusions in this thread were right, you simply ommited to say you started both VMs at the same time.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
genbusu
Posts: 11
Joined: 30. May 2014, 11:56

Re: A critical error has occurred while running the virtual

Post by genbusu »

Yes, I am starting both of them in the same time, because I want to install oracle clusterware on both of them for a RAC.
If you check again the screenshot from the first post you can see a step : "Perform remote operations" here is copying the files form one node to another in this moment a see the virtualbox error. So, I need both of them running in the same time. The problem is because I started both in the same time or what ?

What should I do to avoid this error ?

Thank you
Eugen
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: A critical error has occurred while running the virtual

Post by noteirak »

The error is : you don't have enough free RAM on your host to run both machines at "full speed" at the same time.
Three ways to solve this :
- Get more RAM
- Configure the VMs with lower RAM
- Free some RAM in the host by closing programs
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: A critical error has occurred while running the virtual

Post by Perryg »

There is something that will cause this issue besides lack of RAM, which I believe is not really causing this issue.
Look in the hosts task manager for "GoogleCrashHandler64.exe" and disable it if it exists. Then see if you can run your project.
genbusu
Posts: 11
Joined: 30. May 2014, 11:56

Re: A critical error has occurred while running the virtual

Post by genbusu »

Perryg wrote:There is something that will cause this issue besides lack of RAM, which I believe is not really causing this issue.
Look in the hosts task manager for "GoogleCrashHandler64.exe" and disable it if it exists. Then see if you can run your project.
I know about this , this was not the case here.

thank you
Eugen
genbusu
Posts: 11
Joined: 30. May 2014, 11:56

Re: A critical error has occurred while running the virtual

Post by genbusu »

noteirak wrote:The error is : you don't have enough free RAM on your host to run both machines at "full speed" at the same time.
Three ways to solve this :
- Get more RAM
- Configure the VMs with lower RAM
- Free some RAM in the host by closing programs
Hi noteirak,

Indeed , this was the cause. Issue is solved now, I configured the VMs with lower RAM, in this way I had more RAM on host and worked.

Manny thanks for your help, I appreciate.

Kind Regards
Eugen
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: [Solved] A critical error has occurred while running the

Post by mpack »

This thread is an object lesson in how not to discuss something on these forums. I.e. post a question, failing to provide the most important information (that two VMs are being started at the same time). Provide the wrong log twice, and twice contradict two different helpers who point out that it's the wrong log. If the object had been to waste a lot of time then the that object was certainly achieved - and then some.

And btw - well spotted Max.
rsmagdum
Posts: 1
Joined: 1. Jan 2015, 08:58

Re: [Solved] A critical error has occurred while running the

Post by rsmagdum »

Try by Enabling PAE/NX
Attachments
v8a.jpg
v8a.jpg (55.58 KiB) Viewed 7997 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: [Solved] A critical error has occurred while running the

Post by mpack »

PAE allows certain guests to be able to access more RAM. It does not make more RAM available on the host, which is where the above problem lies.

Besides, the OPs logs show PAE already enabled.
MCOD
Posts: 1
Joined: 2. May 2016, 00:06

Re: [Solved] A critical error has occurred while running the VM

Post by MCOD »

i have the same problem can someone help me my skype is moddingcallofduty
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: [Solved] A critical error has occurred while running the VM

Post by mpack »

If you have the same problem (not enough memory to run the current VM recipe) then see Noteirak's last post.
iexpertini
Posts: 1
Joined: 22. Jul 2017, 17:38

Re: [Solved] A critical error has occurred while running the VM

Post by iexpertini »

Hi there,

We're also facing the same issue when tried to install the Mac on virtual box at our windows PC

Following this video

And at last we can the same error.

Any help is highly appreciated and we have also attached the log file in zip folder.

Thanks,
Ahsan
Attachments
logs-mac.zip
logs when I try to install Mac on Windows
(220.11 KiB) Downloaded 19 times
Locked