What is the maximum supportable RAM by Linux? Assume that hardware is/supports 64-bit. Among all Linux distros.

Does it go up to 16 exabytes, or is it limited like with Windows which I believe is 192 gigabytes?


Red Hat Enterprise Linux (RHEL)

These are probably a good basis, looking at RHEL6's capabilities, they're covered here, titled: Red Hat Enterprise Linux 6 technology capabilities and limits.

   ss #1

NOTE: [5] The architectural limits are based on the capabilities of the Red Hat Enterprise Linux kernel and the physical hardware. Red Hat Enterprise Linux 6 limit is based on 46-bit physical memory addressing. Red Hat Enterprise Linux 5 limit is based on 40-bit physical memory addressing. All system memory should be balanced across NUMA nodes in a NUMA-capable system.

Kernel docs

Also if you take a look at the kernel docs, Documentation/x86/x86_64/mm.txt:

Virtual memory map with 4 level page tables:

0000000000000000 - 00007fffffffffff (=47 bits) user space, different per mm

So 247 bytes = 128TiB

  • 128TB RAM, imagine that power on your machine. "Dayum!" – Rik Telner Feb 24 '14 at 11:26
  • 2
    @RikTelner that much power on your machine would be absolutely useless. Adding RAM only helps until you reach the ceiling above which you simply never use the extra RAM. Nothing you are likely to run on a home computer will even come close to using 128TB of RAM. – terdon Feb 24 '14 at 12:46
  • @terdon - this is for servers. We would regularly have VM servers (Massive Dell 910 boxes running VMware) that would come stock with 128/256/512GB RAM. – slm Feb 24 '14 at 13:34
  • Servers are another matter altogether, my point was that RAM is not a magic wand that speeds up your computer with no limit. It only makes a difference if your processes actually use it and terabytes of RAM will not be used today except in very specific and unusual cases. Having a few teras of RAM on my laptop will not make it work any faster for my daily use having, say 16G or so. And anyway, 512G is a far cry from 128T! – terdon Feb 24 '14 at 13:39
  • 4
    @RikTelner: We will see machines with more than 48 bit in 2020 (latest). Those in-memory-dbs want a lot of memory. – Reinstate Monica - M. Schröder Feb 26 '14 at 8:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.