Ubuntu 12.04 LTS 32bit does not detect 4Gb ram

6,814

Solution 1

@fossfreedom - Problem has been fixed by upgrading the BIOS to the most recent one. Thanks for the hint! See available memory output after the change:

administrator@Root2:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          4026       1105       2921          0         45        311
-/+ buffers/cache:        748       3278

Solution 2

Even if you were running windows you wouldn't see the entire 4gb of memory allocated. Part of it is reserved for Graphics Ram. If you go to the Manufacturer website and look at the technical specs for your system under memory it will tell you how much of the installed memory is usable.

Share:
6,814

Related videos on Youtube

David
Author by

David

Updated on September 18, 2022

Comments

  • David
    David over 1 year

    I have recently installed 4Gb of ram for an existing 12.04 32bit Ubuntu. It's not being recognised, only 3.2Gb is showing, See:

    administrator@Root2:~$ free
                 total       used       free     shared    buffers     cached
    Mem:       3355256    1251112    2104144          0      48664     391972
    -/+ buffers/cache:     810476    2544780
    

    System is PAE capable, See:

    administrator@Root2:~$ grep --color=always -i PAE /proc/cpuinfo
    flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts
    flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts
    

    The system us fully patched and tried to run manual PAE upgrade, See:

    administrator@Root2:~$ sudo apt-get install linux-generic-pae linux-headers-generic-pae
    [sudo] password for administrator: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    linux-generic-pae is already the newest version.
    linux-headers-generic-pae is already the newest version.
    The following packages were automatically installed and are no longer required:
      language-pack-zh-hans language-pack-kde-en language-pack-kde-zh-hans
      language-pack-kde-en-base kde-l10n-engb kde-l10n-zhcn
      language-pack-zh-hans-base firefox-locale-zh-hans
      language-pack-kde-zh-hans-base
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    

    I am not sure what else to try to recognise the full physical memory installed other than loading 64bit. Any thoughts? Thanks!

    output of uname -r

    administrator@Root2:~$ uname -r
    3.2.0-24-generic-pae
    
    • Admin
      Admin about 12 years
      Looks correct to me. You'll need 64 bit. IIRC each single process is limited to 3 Gb under 32bit, so that's why you see that.
    • Admin
      Admin about 12 years
      I don't think the per-process memory limitation is the problem. It looks to me like, for some reason, the PAE kernel is not actually running. Have you checked to see if it is? Can you add the output of uname -r to your question?
    • Admin
      Admin about 12 years
      @ Eliah: Yea, you're right, I missed that he's looking at total ram installed, not per process.
    • Admin
      Admin about 12 years
      @Eliah Kagan See output or the current version: administrator@Root2:~$ uname -r 3.2.0-24-generic-pae
    • Admin
      Admin about 12 years
      @gecko, free reports system memory, not its own memory. It looks like a problem with the motherboard. Check the output of dmesg or the contents of /var/log/kern.log and look for the section with the e820 memory map and add that info to the question.
  • Seven
    Seven about 12 years
    He can use more than 3 Gb, just not in a single process. :-)
  • Eliah Kagan
    Eliah Kagan about 12 years
    This answer is incorrect. The 32-bit memory limitation is overcome by running the PAE kernel, which lets you access up to 64 GiB of RAM. See en.wikipedia.org/wiki/Physical_address_extension#Linux. The question is about why that's not working. (Sorry, didn't actually mean to downvote though, have undownvoted.)
  • Rinzwind
    Rinzwind about 12 years
    This answer is incorrect so accepting it is giving the wrong signal.
  • David
    David about 12 years
    @Robert Hollander : Yes I will upgrade it to 64bit to get it working. Obviously I tried to avoid doing it but there does not seem to be an alternative unfortunately. Thanks all for the input! Much appreciated!
  • nilsonneto
    nilsonneto about 12 years
    @David - the other commenter's are correct - this answer is incorrect and you should perhaps need to consider the usefulness of accepting this answer for others in the future. Thanks!
  • David
    David about 12 years
    @fossfreedom : i have removed it as an answer. Thanks for pointing it out. I have googled this issue further - not much luck, so will go with the upgrade unless someone can advise a better alternative.
  • nilsonneto
    nilsonneto about 12 years
    @David - what is your computer (make and model) - add this to your question. e.g. maybe a BIOS issue as per this Q&A? askubuntu.com/questions/80721/…
  • David
    David about 12 years
    @fossfreedom it's a Dell Vostro 200. I am looking at a possible BIOS issue too. Will update shortly.