How to Lift Ubuntu Linux Ram Limit
By on October 27th, 2009

All 32-bit systems have a RAM limit of 3 GB. This limits the maximum amount of RAM a system running on a 32-bit Linux can support. So, even if you have more than 3 GB of ram installed, it will show only 3 GB.

There was a previous workaround which allowed us to use more than 3GB of ram in Linux by installing the server Kernel. This provided us with a kernel which had PAE enabled. This could also be done by recompiling the Linux kernel with PAE enabled. But, this is no longer possible now as the i386-server flavor of Linux is being dropped according to the Ubuntu Wiki.

Thankfully, instead many OEM’s have made a request for a 32-bit Ubuntu with PAE enabled. In response to this, Karmic Koala has options to use PAE. This has been possible due to the meta package linux-generic-pae, which has been added to the Karmic Koala build and allows us to enable PAE for the desktop version.

To enable more than 3 GB, enter this in a terminal. This command will install the PAE packages.

sudo apt-get install linux-generic-pae

Now after restarting the sytem, your Ubuntu should use the full RAM resource of your computer.

For more information on PAE, see the Wikipedia page here.

For more information on meta packages, see the Ubuntu help page here.

[ Via Web Upd8 ]

Author: Chinmoy Kanjilal Google Profile for Chinmoy Kanjilal
Chinmoy Kanjilal is a FOSS enthusiast and evangelist. He is passionate about Android. Security exploits turn him on and he loves to tinker with computer networks. He rants occasionally at Techarraz.com. You can connect with him on Twitter @ckandroid.

Chinmoy Kanjilal has written and can be contacted at chinmoy@techie-buzz.com.
  • http://www.franconerd.com Jean-Francois Messier

    I ran the command, and it was actually showing that it was already installed. My laptop is a Toshiba A100, with 4G of RAM, as confirmed by the startup status and config.

    However, when I check the status, it only shows 2.9G of RAM, not the 4G of RAM. Any idea why ?

    • http://www.techarraz.com Chinmoy Kanjilal

      The startup is independent of the OS. It is a low-level subsystem readying your system. It will detect anything you have as hardware, but the OS will not use it if it has no support.

  • Volnei

    Thanks a lot for posting this tip! Already installed the PAE-ENABLED Kernel and got my 4MB ram recognized in my 32-bit system. Using Karmic here.
    Your blog is very interesting and useful, thanks again!

  • Volnei

    Errr… 4GB of RAM, of course. Sorry for the mistake ;)

  • sudden death

    Gonna try installing PAE Kernel today!, have a home server Quad Xeon 3.0ghz with Hyperthreading for 8 Threads and 8 gigs of ECC Ram so wish me luck

    • http://www.techarraz.com Chinmoy Kanjilal

      Wow! Good luck. Share any performance difference. Make sure to run some benchmarks.

 
Copyright 2006-2012 Techie Buzz. All Rights Reserved. Our content may not be reproduced on other websites. Content Delivery by MaxCDN