Score:0

All RAM is used by virtualbox after launching ubuntu 20.04

sz flag

I have Oracle Virtualbox on my windows 11. I configured instance to have 20GB RAM, use 8 CPUs and to have 100GB memory. I installed there ubuntu 20.04 LTS. The problem is, that I can't use it, as it's lagging or even doesn't respond. I checked my windows task manager and 97% memory is used, mostly by Virtualbox. I wonder what's wrong. Any ideas would be appreciated. Thanks.

ChanganAuto avatar
us flag
The usual recommendation is to never allocated more than 50% RAM to the virtual machine. How much RAM do you have?
sz flag
I have 32GB RAM. Ok, I will try using 12GB on Virtualbox
ChanganAuto avatar
us flag
Even 12GB is too much probably, but depends on what you're doing in the VM. Keep in mind that resources allocated to the VMs are resources *removed* from the host while the VMs are running. You don't want to give the VMs resources they won't be using anyway.
ChanganAuto avatar
us flag
Lastly, this is a generic and very basic virtualization question that has nothing to do with Ubuntu.
cn flag
Windows problem when using Windows software... not our problem to solve since the answer is not going to be something in Ubuntu https://superuser.com/ is more appropriate
us flag
For your information, the minimum recommended RAM for Ubuntu desktop is 4GB.
Bruni avatar
cn flag
Just my two cents, I have encountered similar problems when running windows 10 on my Ubuntu 21.10 host.
David avatar
cn flag
You have 32 gig of RAM and the question says you told the VM to use 100 gig.
ChanganAuto avatar
us flag
@David The "100GB memory" refers to the virtual drive, not RAM.
David avatar
cn flag
@ChanganAuto Then the question needs to be edited.
ChanganAuto avatar
us flag
@David Arguably it's memory as well. That said, since many decades ago, indeed we tend to use "memory" only in the context of "Random Access Memory".
sz flag
I think the problem is that oracle virtualbox isn't compatibile with windows 11. On vmware everything works properly.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.