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

  • gomp@lemmy.ml
    link
    fedilink
    arrow-up
    6
    ·
    7 hours ago

    What’s crashing? the Linux host? Virtualbox? the windows guest?

    (personally I won’t be able to help you, but other people might)

    • unicornBro@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      7 hours ago

      First the VM will freeze. Then my whole computer freezes. Then the VM closes and in the Virtual Box menu it says that Windows 11 aborted.

      • njaard@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        7 hours ago

        This sounds exactly like Linux giving the old OOM killer. Reproduce the problem, then look at the output of sudo dmesg. If it shows something like “OOM killed process”, then yes, that’s the problem.

        Do the following:

        1. Consider giving less memory to the VM
        2. Ensure you have at least a little swap space configured on Linux
        3. Consider getting more memory
        4. Exit other programs on Linux, especially web browsers