≡ Menu

RHEL / CentOS Support 4GB or more RAM ( memory )

If you have 4 GB or more RAM use the Linux kernel compiled for PAE capable machines. Your machine may not show up total 4GB ram. All you have to do is install PAE kernel package.

This package includes a version of the Linux kernel with support for up to 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
The non-PAE kernel can only address up to 4GB of memory. Install the kernel-PAE package if your machine has more than 4GB of memory (>=4GB).

How Do I Install PAE kernel?

To install PAE kernel, use yum command:
# yum install kernel-PAE

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel-PAE to pack into transaction set.
kernel-PAE-2.6.18-8.1.15. 100% |=========================| 207 kB    00:00     
---> Package kernel-PAE.i686 0:2.6.18-8.1.15.el5 set to be installed
--> Running transaction check

Dependencies Resolved

 Package                 Arch       Version          Repository        Size 
 kernel-PAE              i686       2.6.18-8.1.15.el5  updates            12 M

Transaction Summary
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 12 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): kernel-PAE-2.6.18- 100% |=========================|  12 MB    00:12     
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: kernel-PAE                   ######################### [1/1] 

Installed: kernel-PAE.i686 0:2.6.18-8.1.15.el5

Just reboot the server and make sure you boot with PAE kernel i.e. 2.6.18-8.1.15.el5PAE:
# reboot

Share this on:

Your support makes a big difference:
I have a small favor to ask. More people are reading the nixCraft. Many of you block advertising which is your right, and advertising revenues are not sufficient to cover my operating costs. So you can see why I need to ask for your help. The nixCraft, takes a lot of my time and hard work to produce. If you use nixCraft, who likes it, helps me with donations:
Become a Supporter →    Make a contribution via Paypal/Bitcoin →   

Don't Miss Any Linux and Unix Tips

Get nixCraft in your inbox. It's free:

{ 28 comments… add one }
  • Anjanesh November 11, 2007, 4:24 am

    Wanted to info regarding this since Im interested in a custom configured dell notebook with a total of 4GB RAM (2x2GB) with the intention of installing Fedora 8 or Ubuntu 7.10 but was wondering if Linux can ‘see’ 4GB of RAM unlike Windows which utilizes a max of ~3GB of RAM ?

  • nixCraft November 11, 2007, 6:55 am


    Just install kernel-PAE under Fedora 8 and you should able to use 4 GB – 64 GB RAM out of box :)

    I’m not windows expert, but it does support 64GB or more RAM if you use 64 bit Windows Vista / 2003 Server. Keep in mind that 64 bit windows has huge software / hardware compatibility issues.


  • Dimitri November 11, 2007, 6:51 pm

    kenel-PAE isn’t available in CentOS 3/ RHEL 3 or CentOS 4/ RHEL 4 (at least, not on my systems). Instead, install and boot kernel-hugemem.

  • nixCraft November 12, 2007, 6:29 am


    Yup, kernel-PAE is CentOS 5/ RHEL 5 / Fedora 8 only.

  • Herger November 16, 2007, 1:51 pm

    Hi all.
    I am planning to buy a Dell workstation with RHEL 5 with 4 Gb ram.
    If I had to install RHEL 3, for old CFD softwares, would i have problems in seeing the total ram ?
    Thanks all and regards


  • ckolos November 19, 2007, 7:46 pm

    FYI, this is only for 32bit versions of RHEL/Centos… The 64bit versions don’t supply, nor do they need these extensions

  • odoylefm February 15, 2008, 2:45 pm

    I have a Red Hat 8, 64-Bit installation and the BIOS sees 4Gb of RAM, but Fedora only sees 3.1. It is an HP computer and the BIOS is very limited as far as configurable options. Why won’t Fedora see all the RAM?

  • Z. Qian February 25, 2008, 11:33 pm

    my PC Bios only reports 3.2GB memory available. Does linux has its own basic IO support? Or it use standard bios support for IO?


  • josh March 14, 2008, 10:54 pm

    older Intel chipsets (pre-965, including 945) do not support memory remapping – thus limiting access to the memory being overlapped by IO space.

  • nisha August 8, 2008, 9:32 am

    Just a quick question, is kernel-PAE required for CentOS x86_64 to recognize additional memory? I’ve been googling, but there’s no straight answer to this…from what i understand, it’s only required for x86 arch’s…i would appreciate your insight about it…thanks

    *Note:apologies if this has already been answered, i would just like a second opinion, hope it’s alright :-)

  • nixCraft August 8, 2008, 9:58 am

    Noop, 64bit kernel can address 64GB / 128GB or more. PAE kernel = 32bit OS + 4GiB or more RAM.

  • nisha August 8, 2008, 10:04 am

    perfect, thank you ;-)

  • Sithu October 21, 2008, 9:22 pm


    I’ve CentOS 5.2. Upgraded RAM to 32GB from 16GB. BIOS shows the increaed memory, but the OS still shows 16GB.

    Could anyone help?

    Thanks and regards

  • Mesut November 1, 2008, 7:35 am

    for rhel/centos 3.x-4.x, support 64GB memory too but kernel is not named as kernel-PAE…
    check kernel-hugemem or something…

  • deeb April 6, 2009, 11:07 am

    I’ve just been looking into this. The new RHEL5 PAE kernel does not support memory above 16G. According to RH this was due to performance problems. If your applications will run in 64bit mode (X86_64) and you’ve got more than 16G, you should go 64bit.


  • Yuhong Bao June 2, 2009, 3:36 am

    Another advantage of installing a PAE kernel is that you can enable the NX support in recent CPUs to increase resistance against buffer overflow attacks. Non-PAE page tables has no space for the NX bit, thus PAE has to be enabled to get NX.

  • Anj Adu July 16, 2009, 7:11 pm

    We have 32 Bit Red Hat Enterprise Server 5.3 with PAE and the “top” command shows 32G total (which is the amount of installed memory”..) does that imply The PAE works beyond 16G ?

  • Corben August 11, 2009, 5:20 pm


    Just replaced RAM in my HP laptop (Now, I have matched pair etc.) and my BIOS recognizes 4GB of RAM.
    OS Centos 5.2 kernel 2.6.18-128.4.1.el5PAE can see only 3.5GB.
    #cat /proc/meminfo
    MemTotal: 3505948 kB

    What should I do? My system is almost upto date.


  • Davis December 13, 2009, 7:20 am

    Very usefully information and easily to do ..
    Now, my machine can suppot 8G ram!!
    Thank you!!

  • Ross February 4, 2010, 6:26 am

    We’re analysing a problem on 32 bit RHEL 5 PAE kernel (fully up-to-date) on a Dell M610 blade (4 x quad core XEON, 48GB RAM) and, although we see all 48GB in “top” and “free”, the following simple program shows that we’re still limited to 3GB of memory per process.

    enum {
      CHUNKS = 1024 * 32,
      MEGABYTE = 1024 * 1024
    int main (void) {
      int i, j;
      void * chunk[CHUNKS];
      for (i = 0; i < CHUNKS; i++) {
        if (NULL == (chunk[i] = (void *) calloc(MEGABYTE, 1)))
      printf("Allocated %d MB\n", i);
      for (j = 0; j < i; j++) {
  • DonEstefan September 18, 2010, 3:23 pm

    You don’t necessarily need a different Kernel.
    When you are using a Multiprocessor (Multicore) Machine you should already be using the SMP Kernel (check “uname -a”).

    The “SMP” kernel supports a maximum of 16GB of main memory. Systems with more than 16GB of main memory use the “Hugemem” kernel. In certain workload scenarios it may be advantageous to use the “Hugemem” kernel on systems with more than 12GB of main memory.”
    [/QUOTE]I can’t post URLs but if you google “Red Hat Enterprise Server Version comparison chart” you will find the information in Note 5 on the bottom of the page.
    Also check out the “Technology capabilities and limits” on the same page.

  • FSX October 14, 2010, 7:14 am

    I have recently upgraded memory from 4gb ecc to 12gb ecc on Dell PowerEdge 2950 server running RHEL 5.3.
    Its showing 12Gb memory in RHEL but on SNMP monitoring its shows total memory 12gb and used memory 4gb max, and percentage usage of memory shows 99%, which was the reason to upgrade memory from 4gb initial to 12gb.
    Any suggestions?
    i am using PAE kernel.

  • mir March 28, 2011, 5:21 am

    Hi, I am using RHEL 5.3 (32 Bit) on HP DL380G6. I am getting File System Read Only error on my server. please suggest on this..
    I am using PAE kernel

  • Muhammad Shakir July 22, 2011, 9:34 am

    I have upgraded memory from 16 gb to 64gb in CentOS 5.4 x64 bit server which is installed on Dell R710 server. In BIOS it is showing 64 GB but when i check in OS it is only showing 32 GB. Do you have any idea about this.

  • Enabled991221 October 25, 2011, 8:46 pm


    How to PAE kernel install to FreeBSD 7.0?

  • Denilson August 6, 2012, 2:36 pm

    It helped me a lot. Thanks.

  • wanjohi November 27, 2013, 1:46 pm

    Hi, I have RHEL5.9 but do not have yum, which is the exact rpm I can download to install the kernel pae

  • yusuf February 22, 2015, 9:17 am

    Centos 6.4 Maximum memory and cpu supported.

Leave a Comment

   Tagged with: , , , , , , , , , , , , , , ,