HA on MiniPC in VM VirtualBox keeps crashing

Good morning everyone,
I’ve been exploring this world of Home Assistant by installing it in a VirtualBox VM on my Mini PC.
The problem is that the CLI crashes about once a day, and I can’t use it until I reboot the machine.
The Mini PC has 8GB of storage, and I’ve dedicated 3GB to HA.
Below are the error messages I receive, which effectively block the CLI from writing anything, so the only solution is to send the ACPI shutdown signal through VirtualBox and restart the VM.


Someone can help me?
It could be a RAM problem?
Thanks

The messages you posted dont give me a clue.
IF its ram/memory leak I would consider this:

this gives you nice entities, giving you history data on how your machine performs.

See on my example where i created a history graph on this:

If RAM would be an issue then you would easily see if RAM goes to 100% and beyond.
Also then you can create an automation on this to notify you for example which might help.

If you identify memory leak (raising RAM graph over time) then you should consider finding out what the issue is by disabling things one by one and see where the ram usage does not rise

Using windows as base OS?
I’ve been there, done that. Issues daily.
Moved away from VirtualNox to Microsoft Hyper-V and living hapily ever after :slight_smile:

Are you sure VirtualBox uses proper virtualization? Please hover over the little turtle at the bottom and share what you see. You should look into something like Proxmox VE as a replacement for it.

I think I’ve resolved this problem!
After I have disabled the “Core Isolation” on Windows Security the problem doesn’t occur again.