Why is the total amount of memory shown in the operating system smaller than the amount of memory shown in "VM Size"

88829218 20 Reputation points
2023-12-03T12:13:31.23+00:00

I use a B2ats_v2 virtual machine, and the vm size shows that the virtual machine of this size is configured with 1GiB of memory.User's image

But after I installed the operating system, I logged in and checked that the memory was less than 1GiB.

User's image

I understand the difference in conversion between GB and GiB units. What is the problem?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,569 questions
0 comments No comments
{count} votes

Accepted answer
  1. Konstantinos Passadis 17,456 Reputation points MVP
    2023-12-03T13:42:49.12+00:00

    Hello @88829218

    Welcome to Microsoft QnA!

    If you calculate the Used + Free + Buff Cache you get 1027 , which repseresnts the selected amount

    OS Memory is not the same on Physical and Virtual Machines

    Operating System Overhead: Every operating system needs a certain amount of memory to run its processes and services. This includes the kernel, device drivers, system services, and other essential components. The memory used by these components is not available for general use.


    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful