Question

Why Ubuntu has 992MB RAM capacity whereas Debian shows 1000MB in 1GB package?

Posted December 31, 2016 978 views
UbuntuDebianDigitalOceanUbuntu 16.04

Why Ubuntu has 992MB RAM capacity whereas Debian shows 1000MB in 1GB package?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

They both have 1024 MiB of RAM. There isn’t a difference in what DigitalOcean assigns to the droplet.

The “992 MiB” total RAM figure could be uncharitably described as a lie. For some reason i don’t know, the kernel excludes certain memory that it reserves for itself from the “total” number. But it’s still there (and probably assigned to something).

So, Debian and Ubuntu probably have slightly different figures because they’re probably running significantly different kernel versions with significantly different settings. (Maybe one of them’s even 32-bit.) The numbers will probably change slightly as you upgrade the kernel in the future.

You might find the command “dmesg | grep Memory” interesting, but i couldn’t explain what all of the numbers mean.

Submit an Answer