I have 32 Go of ram on the PC and OS use only 8Go
so my VM ares slow .
where i can change the value if it is possible
openSUSE uses whatever amount of RAM is available when it needs it.
The amount of RAM used by a VM is defined in the VM settings itself.
Since you don’t tell what kind of virtualization system you are using, find out where you define your VM and change the RAM setting.
I use Suse since 20 years and i never seen Suse which used more than 8 Go fo ram !
I have a dev server and the VM are VMWARE workstation 17.6
i can see also in the vm the same pb as the screeshot here 2Go on 15 Go avalaible
I’m not exactly clear on what it is that you’re asking for help with here.
If you have a VM and have allocated 32 GB to it, then that’s what’s allocated to it. If you don’t actually load applications up, then of course the OS isn’t going to use the memory unless it needs to.
VMware also does some interesting things when it comes to memory management - it doesn’t appear to preallocate physical memory until it actually needs it.
My host system has 128 GB of RAM in it, and currently I’m using about 24% of it with various running processes (lots of stuff in Docker, for instance). One VM running openSUSE Tumbleweed (in VMware 17.6.3, even) at present, but I often have a number of VMs running as well, and I notice that the actual memory utilization for that running VM (which is allocated only 8 GB of RAM, because it doesn’t need more) is 1.4 GB.
Memory isn’t what’s causing your performance issues here.
Tell us a little about the system you’re using as a host - what kind of CPU, how much total memory in the system itself, and what kind of video card. (Also worth confirming what OS you’re using as the host).
I’m on kvm/qemu the only operating system the pre-allocates is Windows here…
I want to use a more important part of memory , 8Go only used on the 32 Go avaliable
Best
The system uses what it needs - it’s really unclear what the underlying issue is that you’re trying to solve here.
It sounds like you’re raising an issue similar to that of people who are “concerned” that their CPU isn’t being 100% utilized 100% of the time - but that’s not how PCs work.
that’s your point of vue
if sometime i saw the memory used abobe 8Go OK , but i NEVER seen that Look like a parameter block Suse to use all memory if needed
Open the systemmonitor and try to convert 200 jpg’s to a pdf:
convert *.jpg out.pdf
You will see the used RAM increasing…
And as malcolm says:
A Windows VM is using the whole RAM you gave to this VM (Virtualbox and qemu/KVM).
A Linux VM is only using after starting 2-3GB RAM…
So Linux is using the RAM when it is necessary, not when you want.
free -h
total used free shared buff/cache available
Mem: 125Gi 6.5Gi 97Gi 107Mi 22Gi 119Gi
virsh start Windows_11_Pro
Domain 'Windows_11_Pro' started
virsh start Windows_11_IoT_Enterprise
Domain 'Windows_11_IoT_Enterprise' started
free -h
total used free shared buff/cache available
Mem: 125Gi 45Gi 53Gi 119Mi 28Gi 80Gi
Well, I don’t know what to tell you - it’s not a “point of view” - it’s what your system is doing. There’s no (to my knowledge) way to say “I don’t care how much memory the system has, only use 8 GB of it” - and if there is, it certainly isn’t enabled by default. But if you see all the memory, then it’s all available for the OS to use.
Without some specifics about your hardware configuration, it’s difficult to diagnose is perhaps there is an issue.
what do you want to know to diagnose ??
Have you tried to install and run a Windows VM with 16 GB?
Or use convert as I wrote?
And monitoring your RAM ?
We know what you mean.
But Linux (openSUSE) is using RAM when it is needed, not when you mean it must be used.
Malcolm and I have posted, when Linux(openSUSE) needs the RAM…
I’d start with a clearer description of what the actual problem is. “Not using more than 8 gb of memory” doesn’t really describe a problem if nothing you’re doing needs more than that. So what are you seeing, maybe performance-wise, that you are not expecting.
If addition to that, info about the hardware itself would be useful.
“I use Suse since 20 years and i never seen Suse which used more than 8 Go fo ram”.
Well I use SUSE for more than 30 years and it DOES:
# free -g
total used free shared buff/cache available
Mem: 503 287 5 166 380 215
so what you did for that ??
An absolutely easy test is to open Flickr with a browser. Open images in separate tabs (use middle click to open in new tab). With 30-40 tabs open, you should see that the RAM usage will go far beyond 8 GB.