I know this is a 9 month old thread but for anyone else that is having reliability problems with virtual box running Home Assistant OS, I increased the RAM from 2048 MB to 4096 MB and all the freezing issues were gone.
Before that it was freezing every 4-6 hours. The only way it would work again was to reboot the virtual box machine.