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

  • malin@thelemmy.club
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    5 hours ago

    VMs will crash because of running out of RAM.

    It sounds like that’s exactly what’s happening with your setup, however you probably don’t need to buy more RAM to fix it.

    Type free, or free -h, into a terminal to see how much RAM and swap space is being used.

    Swap is a tool that allows you to use your storage drive as additional RAM when necessary. If nothing indicates swap usage when using free, then you need to enable swap space.

    Ask AI “How do I enable swap on Linux” and it should give you good instructions.