▲ 36 ▼ Does Windows virtual machine crash due to low RAM? (sh.itjust.works) submitted 1 year ago by unicornBro@sh.itjust.works to c/linux@lemmy.ml 17 comments fedilink hide all child comments 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
[–] unicornBro@sh.itjust.works [S] 8 points 1 year ago* (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] njaard@lemmy.world 12 points 1 year 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: Consider giving less memory to the VM Ensure you have at least a little swap space configured on Linux Consider getting more memory Exit other programs on Linux, especially web browsers permalink fedilink source parent
[–] njaard@lemmy.world 12 points 1 year 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: Consider giving less memory to the VM Ensure you have at least a little swap space configured on Linux Consider getting more memory Exit other programs on Linux, especially web browsers permalink fedilink source parent