how much ram ubuntu needs

How Much RAM Do You Need For Ubuntu? (For Each Version)

If you click our links and make a purchase, we may earn an affiliate commission. Learn more

Linux is known to use less RAM overall than alternatives like Windows 11. That’s why, in general, Linux works better on older computers. But how much RAM do you need exactly? And is Ubuntu still lighter with a fully furnished desktop environment? That’s what I’ll cover in this article.

According to the official maintainers, 6 GB of RAM is recommended for Ubuntu Desktop edition and 3 GB for Ubuntu Server edition. Ubuntu’s minimum installation requirement is less than half of these values (2 GB for Desktop and 1.5 GB for the Server version).

I did some tests for you, to see how much RAM you really need and how much Ubuntu really use because it wasn’t easy to find these answers in their official documentation. So keep reading if you still have any doubts.

Master Linux Commands

Want to level up your Linux skills? Here is the perfect solution to become efficient on Linux.

If you need help with Linux, I’ve got something that can help you right away!
Download my free Linux commands cheat sheet – it’s a quick reference guide with all the essential commands you’ll need to get things done on your system. Click here to get it for free!

How Much RAM is Recommended to Run Ubuntu?

Ubuntu provides the following requirements to run its Desktop edition on a computer:

  • A dual-core processor (2 GHz)
  • 4 GiB of RAM
  • 25 GB of hard-drive space

The “recommended” amount of RAM for the desktop edition is 6 GB.

If your goal was to use an old computer with Ubuntu, 4 GB is already a high requirement (Windows 11 requires 4 GB of memory too). Ubuntu uses the GNOME desktop environment by default, which is not the lightest option.

Don’t worry if your computer doesn’t have 4 GB of RAM, you have a few solutions to keep moving from there:

  • Use a different edition of Ubuntu (without GNOME).
    Some desktop environments are less demanding than the default solution.
    I will talk about this at the end of this article.
  • Choose another operating system.
    Some Linux distributions are specifically built for low-end computers, which is not the goal of Ubuntu.
  • Add more RAM to your computer (or upgrade the one you have).
    The other system requirements are pretty low, so if you can get another memory module, it should be really fast. Normally (when there isn’t the recent AI demand for memory), you can get some 8 GB RAM modules for less than $30 (here’s an example on Amazon), just make sure to pick something compatible with your computer (there are many formats).
    It’s not complicated to add one or replace one (plug and play), you can do it yourself.

Another solution is to start by installing Ubuntu Server instead , which only requires 1 GB RAM, and then install only what you need on top of it. You can for example install XFCE for the desktop environment instead of GNOME, and it should work better with less RAM used.

How Much RAM is the Minimum to Run Ubuntu?

Well, I answered the question about the “recommended” amount of RAM to run Ubuntu, according to the official documentation. But they don’t provide the “minimum” amount of RAM to install it, so I did some tests on my end.

Recommended next step
Master Linux Commands

If you’re tired of copy/pasting commands without really understanding them, this book will help you finally feel confident in the Linux terminal.

Improve your Linux skills
Something not working as expected?
You can get answers from real experts in minutes.
Get help with your setup

Ubuntu 23.10 Desktop edition can’t be installed on a computer with less than 2 GB of RAM, and the Server Edition needs at least 1 GB of RAM for the installation to start. Less than that, and the live installation will get a “Kernel panic” error.

As the installer loads files into the memory to load the system and installation wizard on the first boot, you need a minimum of space to start the installation. I believe that’s why I got this error, some files were missing in memory.

This error disappears with 1 GB of RAM minimum for the server edition, and 2 GB minimum for the Desktop edition. That’s how I deducted the minimum RAM you need. Once installed, both work decently with this amount of RAM (slower than with the required amount, but it works).

However, with the newest release for Ubuntu 26.04, they upped these numbers again.
So, to summarize the Ubuntu RAM requirements:

RecommendedMinimum
Ubuntu Desktop6 GB3 GB
Ubuntu Server3 GB1.5 GB

Knowing that, let’s see how much RAM Ubuntu really uses once installed.

How Much RAM Does Ubuntu Really Use?

Once installed, Ubuntu 26.04 (Resolute Raccoon) with the default desktop environment and applications uses about 1.5 GB of RAM in idle mode. It will then move up quickly for each application or service started.

For example, if you open RaspberryTips in Firefox with the default settings, you quickly go over 2 GB of RAM used. So, the minimum of 3 GB given previously is really a safer bet for the minimum, you quickly reach the limit and your system will be slower overall.

After starting a few applications and looking at the processes list, we can clearly identify that applications like Gnome Shell, LibreOffice, and Firefox need a lot of memory:

If you are limited in the amount of RAM available, you should probably try to keep only the applications that you really need open (close Firefox when you work on a spreadsheet, for example).

My recommendation would be to have at least 3 GB for the Desktop edition if you want to have a comfortable experience without buying more RAM.

On a server, it’s a bit more complicated to give you a good recommendation. It all depends on what kind of service you use and how many users you have.

For example, a web server (like Apache) will use a few MB of RAM for each connection (active user). The more users you have, the more RAM you need.
While a Minecraft server will already need 1 to 2 GB to start, and then you can quickly need 4 to 8 GB with several players (especially if you have many plugins installed).

So, 2 GB should be enough for a small server with light services, but it can quickly require more if you have many users or heavier applications running on it.


🛠 This tutorial doesn't work anymore? Report the issue here, so that I can update it!

Still stuck after following this guide? Drop your question in the RaspberryTips Community — real Pi users answer fast. Post your question here.

Do All Ubuntu Flavors Require the Same Amount of RAM?

Ubuntu now exists in various flavors, with different desktop environments and default applications installed. For example, Xubuntu is based on Ubuntu but uses XFCE for the interface, which is lighter than GNOME.

So, if you are limited in the amount of RAM and can’t upgrade your computer, it might be something to consider. Switching to Xubuntu instead of Ubuntu won’t change the experience much, but will probably make everything faster.

Here are the requirements I found for some other flavors of Ubuntu:

RecommendedMinimum
Ubuntu6 GB3 GB
Ubuntu MATE4 GB1 GB
Xubuntu2 GB1 GB
Lubuntu2 GB1 GB

Not all the documentation pages are up-to-date, so you may have to test to make sure it works correctly, but it shouldn’t be that far off.

Anyway, it’s a good strategy to make the most of an old computer, keep looking for the best Ubuntu edition for your needs, try other flavors or even try other distributions like Debian or Manjaro.

Not getting the same result?

Even when you follow every step, small differences in OS version, hardware or config can change the outcome. Instead of wasting time guessing, get help from people who have already fixed the same kind of issue.

Ask your question now
🔒 No risk. Cancel anytime.
  • Get help on your exact issue
  • Access step-by-step videos for tricky setups
  • Browse the website without ads

Similar Posts

Leave a Reply

Community members only
Comments are reserved for RaspberryTips Community members. Join the community to ask questions, get help, and interact with other Raspberry Pi users.

Join the community  or  log in