LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2007, 09:37 PM   #1
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Memory limit on 1G RAM machine?


I've read on these forums that there's a default 880MB RAM limit on Linux, even with the newest 2.6 kernels.

I ran free on my machine and got the following:
Code:
             total       used       free     shared    buffers     cached
Mem:       1024760    1004372      20388          0     164920     371072
-/+ buffers/cache:     468380     556380
Swap:      2031608          0    2031608
The kernel is still stock.

1. Based on this, it shows I've got 1G RAM, with 556MB free, right?
2. Am I limited to the 880MB, even though it recognizes the full 1G?
 
Old 03-27-2007, 10:05 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,277

Rep: Reputation: 126Reputation: 126
If your distro has a HIGHMEM kernel available then use that. Otherwise, you're going to have to build your own in order to use that memory.
 
Old 03-29-2007, 01:17 PM   #3
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by Quakeboy02
If your distro has a HIGHMEM kernel available then use that. Otherwise, you're going to have to build your own in order to use that memory.
How do I go about checking if I've got it?
 
Old 03-29-2007, 03:28 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,277

Rep: Reputation: 126Reputation: 126
I should have looked at your post more carefully. Your kernel recognizes the memory, so you're good to go.
 
Old 03-29-2007, 04:24 PM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Stick with what you've got. I didn't select any special kernel and it still recognizes my 2GB of RAM. Also, I think that the HIGHMEM kernel is actually for 4GB RAM and up although I may be wrong there.
 
Old 03-29-2007, 05:19 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
It's going to look something like this in your .config file for your current kernel configuration:

# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y

There's HIGHMEM and HIGHMEM4G. HIGHMEM handles over 1GB, HIGHMEM4G handles systems with over 4GB of memory..

From your output, like mentioned before, your kernel is supporting your 1GB of ram. I wouldn't worry about the HIGHMEM4G unless you plan on adding over 4GB or more..
 
Old 03-29-2007, 09:08 PM   #7
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Original Poster
Rep: Reputation: 38
Cool. I'll probably add another 1G sometime, to get the dual-channel out of it ... and so I can say I've got 2 Gig!

Thanks guys!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Acer 345T Upgrade - Max RAM Limit? orzem Linux - Laptop and Netbook 4 12-20-2008 09:39 PM
Process memory limit Costea Linux - Security 9 09-24-2006 02:42 PM
is there a RAM limit for the kernel? goens Linux - Hardware 5 03-24-2006 03:43 AM
linux memory limit? rex67 Linux - General 9 01-08-2005 04:36 AM
RAM limit mjsivy Linux - General 6 03-31-2001 09:36 PM


All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration