Can Windows 11 utilize less or similar memory as Ubuntu 21.04?

NndnG 1,106 Reputation points
2021-10-08T19:36:41.1+00:00

Hi,

I installed Windows 11 and Ubuntu 21.04 as Guest OS on VMware Workstation.

Windows 11 is installed with Memory: 4GB, Processors cores: 2 and HD: 80GB.

Ubuntu 21.04 is installed with Memory: 2GB, Processors cores: 2 and HD: 20GB.

Host OS is Windows 10.

At host OS, memory utilization when Windows 11 is turned on, is 72% and memory utilization when Ubuntu is turned on, is 55%.

At both Guest OS, no other applications are installed but because of Windows 11 memory utilization is higher than Ubuntu 21.04.

Can Windows utilize less or similar memory as Ubuntu?

With Regards
NndnG

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,148 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,919 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,919 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Lex Li (Microsoft) 5,237 Reputation points Microsoft Employee
    2021-10-08T19:56:51.613+00:00

    4GB is the minimal for Windows 11, so it is impossible to ask it to run with 2GB.

    1 person found this answer helpful.

  2. Michael Taylor 51,016 Reputation points
    2021-10-08T21:02:13.287+00:00

    Starting around Win Vista MS changed how the OS uses virtual memory. On older OSes where memory was tight the OS was aggressive in moving stuff to the paging file when not needed. The net result was more available memory for applications at the cost of having to page to/from disk. So on the older OSes memory utilization was generally lower. In the newer OSes where machines have far more GB of memory the OS has switched to being less aggressive with paging. Hence it keeps more stuff in memory rather than wasting the time paging it out (until needed). Thus on newer OSes you will see memory utilization is higher and apps are more responsive when swapping from background to foreground. Additionally, to make it look more responsive, the OS also tries to pre-fetch some things before you need them. This is formally known as Superfetch and can be disabled if desired although there should be no reason to do so.

    The memory utilization can be a useful measurement of your system but it is not incredibly useful in determining the general stability these days. My machine, which has been running for days, hovers between 70 and 80% at all times even though I have a couple instances of Visual Studio open, multiple browser apps and tabs, SQL Server running and miscellaneous other apps. The OS is still going to page things out when memory gets tight but the sweet spot has generally been to be around 80-85% of memory. If you go above that regularly then you probably need more memory. Anything less than that and you aren't using all the memory you have available.

    1 person found this answer helpful.
    0 comments No comments

  3. Reza-Ameri 16,861 Reputation points
    2021-10-14T15:21:17.077+00:00

    If possible try setup the VM using Hyper-V instead of VMware and see if you are observing the same experience.
    Try update the Windows 11.
    Check Task Manager and see what applications taking too much memory.
    Sometimes when you install Windows for the first time, it will perform process and you might observe performance issue and then it will reduce memory usage.

    0 comments No comments