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.

ADVERTISEMENTS

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
Output:

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
=============================================================================
Installing:
 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
Complete!

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

🐧 If you liked this page, please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
28 comments… add one
  • Anjanesh Nov 11, 2007 @ 4:24

    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 Nov 11, 2007 @ 6:55

    Anjanesh,

    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.

    HTH

  • Dimitri Nov 11, 2007 @ 18:51

    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 Nov 12, 2007 @ 6:29

    Dimitri,

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

  • Herger Nov 16, 2007 @ 13:51

    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

    Herger

  • ckolos Nov 19, 2007 @ 19:46

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

  • odoylefm Feb 15, 2008 @ 14:45

    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 Feb 25, 2008 @ 23:33

    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?

    Thanks.

  • josh Mar 14, 2008 @ 22:54

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

  • nisha Aug 8, 2008 @ 9:32

    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 Aug 8, 2008 @ 9:58

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

  • nisha Aug 8, 2008 @ 10:04

    perfect, thank you 😉

  • Sithu Oct 21, 2008 @ 21:22

    Hi,

    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
    sithu

  • Mesut Nov 1, 2008 @ 7:35

    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 Apr 6, 2009 @ 11:07

    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.

    cheers
    deeb

  • Yuhong Bao Jun 2, 2009 @ 3:36

    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 Jul 16, 2009 @ 19:11

    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 Aug 11, 2009 @ 17:20

    Hi

    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.

    Cheers
    Corben

  • Davis Dec 13, 2009 @ 7:20

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

  • Ross Feb 4, 2010 @ 6:26

    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.

    #include
    #include
    
    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)))
          break;
      }
      printf("Allocated %d MBn", i);
      for (j = 0; j < i; j++) {
        free(chunk[j]);
      }
    }
  • DonEstefan Sep 18, 2010 @ 15:23

    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”).

    [QUOTE]
    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 Oct 14, 2010 @ 7:14

    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 Mar 28, 2011 @ 5:21

    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
    Thanks.

  • Muhammad Shakir Jul 22, 2011 @ 9:34

    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 Oct 25, 2011 @ 20:46

    Hi.

    How to PAE kernel install to FreeBSD 7.0?

  • Denilson Aug 6, 2012 @ 14:36

    It helped me a lot. Thanks.

  • wanjohi Nov 27, 2013 @ 13:46

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

  • yusuf Feb 22, 2015 @ 9:17

    Centos 6.4 Maximum memory and cpu supported.

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.