Critical error has occurred while running the virtual machine

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
baffourt
Posts: 9
Joined: 24. Mar 2021, 05:33

Critical error has occurred while running the virtual machine

Post by baffourt »

I have been using this VM for over 3 years and this morning, while on it, the Mac OS machine restarted due to a problem. The problem details that came after the restart was CPU panic.
Afterwards, the VM gives this error and will not continue execution.
I have attached the log file to be pointed in the right direction and also let me know if it's possible to recover the data in the .vdi file
Attachments
Screenshot 2023-10-02 at 4.11.42 AM.jpg
Screenshot 2023-10-02 at 4.11.42 AM.jpg (59.82 KiB) Viewed 6120 times
VBox.log.zip
(26.17 KiB) Downloaded 48 times
granada29
Volunteer
Posts: 711
Joined: 3. Mar 2015, 07:27
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Linux, macOS, Windows

Re: Critical error has occurred while running the virtual machine

Post by granada29 »

You have overcommited the RAM in your VM.

Code: Select all

00:00:01.330794 Host RAM: 16384MB (16.0GB) total, 4129MB (4.0GB) available
00:00:01.435783   RamSize           <integer> = 0x0000000223200000 (9 179 234 304, 8 754 MB, 8 GB)
You need to close what ever host application is using the memory, and decrease the allocation you have made to the VM.

Also, you only have a single CPU allocated to the VM. Fow Win 10 you should increase this to 2.
baffourt
Posts: 9
Joined: 24. Mar 2021, 05:33

Re: Critical error has occurred while running the virtual machine

Post by baffourt »

Great @granada29, that pointer is what was needed. the VM has started after restarting. on the CPU allocation, can I allocate like 4 or that will be over commitment.
Thank you
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Critical error has occurred while running the virtual machine

Post by mpack »

You can allocate 4GB if you first free up a lot of host RAM. Otherwise I advise cutting the VM allocation to 2GB.

Also your VirtualBox version is very old (5.1.30). Be aware that you can't be sure that newer OS's will run.
baffourt
Posts: 9
Joined: 24. Mar 2021, 05:33

Re: Critical error has occurred while running the virtual machine

Post by baffourt »

Oh ok, I have freed up most of the Host RAM and I also need it in the VM to run the processes the VM should run, can I keep it at 6GB? the reported version is the log seems to be different from the version I am running. I have been running version 7.0 but I just updated it to what the image shows.
The other question about the cpus, can I allocate 4 or that will be over commitment.
Attachments
Screenshot 2023-10-02 at 9.48.20 AM.jpg
Screenshot 2023-10-02 at 9.48.20 AM.jpg (48.66 KiB) Viewed 6080 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: Critical error has occurred while running the virtual machine

Post by mpack »

baffourt wrote: 2. Oct 2023, 11:52 can I keep it at 6GB?
Impossible to answer until you provide a log showing way more than 6GB RAM available for use.
Post Reply