I installed Windows 11 in Virtual Box in case I need it for school but it keeps crashing. My laptop is 12gb RAM and I gave the VM 8gb RAM.

If I upgrade my laptop RAM to maybe 16gb and give the VM 12gb RAM would that help? Thanks I’m a newb

  • merthyr1831@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    6 hours ago

    I would consider creating a swapfile if you have an SSD. There should be countless tutorials for doing it on Ubuntu.

    It might mean your windows or Ubuntu install gets sluggish, but even 32GB (less than 10% of a typical storage drive!) of spare swap space can let your active and memory-hogging processes breathe instead of invoking the SystemD-OOM killer. Also, it’s essentially free! You’ll benefit from more RAM though.

    For what it’s worth, I think Ubuntu is also fairly aggressive with memory management. I remember complaints that it was a little too hasty to kill user processes under memory-limited scenarios. not sure if that was addressed