LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-23-2002, 11:56 AM   #1
StamfordRob
Member
 
Registered: Jan 2002
Location: Stamford CT
Posts: 97

Rep: Reputation: 15
Question Linux ate half of my memory...


All,

I have loaded redhat 7.2 onto my thinkpad.. it has nt loaded on the same drive.. i can successfully boot into it using my boot disk.. i am still fudging with the boot loader.. no success yet.. any advice is welcome.. (i already did the c:bootsect.lnx... no luck.. )..i loaded GRUB on install and it never showed its head..

anyway.. i have 128 megs loaded.. when i enter linux it only uses 64 megs.. is there a way to overrride what it takes on boot?? i would like to to use the full 128.. it crawls with 64..

thanks in advance..

rob
 
Old 01-23-2002, 01:13 PM   #2
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
See if there are any options you can tweak in the CMOS Setup utility.
 
Old 01-23-2002, 01:29 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
nah, doubt it's anythign in CMOS, there might be a setting for the memory hole that *might* be getting in the way, but i doubt it. never know i spose...

you can set how much memory you have on boot by appending mem=128 to the linux line. i dunno what the GRUB equivalent is but in LILO you just set

append=" mem=128 "

in the right section... have a look at the grub docs on how to append. it's prolyl really easy, just never used grub.

that might fix it, if it's a simple error, if it's more deep rooted, i dunno.
 
Old 01-23-2002, 01:38 PM   #4
StamfordRob
Member
 
Registered: Jan 2002
Location: Stamford CT
Posts: 97

Original Poster
Rep: Reputation: 15
i dont even see GRUB when i start.. i dont even know if that took hold... how can i test that.. OR.. how can i kick that off to see if it will even run??

Quote:
Originally posted by acid_kewpie
nah, doubt it's anythign in CMOS, there might be a setting for the memory hole that *might* be getting in the way, but i doubt it. never know i spose...

you can set how much memory you have on boot by appending mem=128 to the linux line. i dunno what the GRUB equivalent is but in LILO you just set

append=" mem=128 "

in the right section... have a look at the grub docs on how to append. it's prolyl really easy, just never used grub.

that might fix it, if it's a simple error, if it's more deep rooted, i dunno.
 
Old 01-24-2002, 09:00 AM   #5
StamfordRob
Member
 
Registered: Jan 2002
Location: Stamford CT
Posts: 97

Original Poster
Rep: Reputation: 15
Smile Memkry problem solved.. some how..

ok the memory problem went away after i got grub running.. weird.. but it registers 128 as it should... BOY.. LINUX IS A HOG... i need to dig up some more memory but all is well.. i may run some tests antoerh time to see if i can duplicate that..
 
Old 01-24-2002, 09:17 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
no it's not greedy at all, certainly uses VASTLY less memory than XPants. using gnome and kde will account for most of your memory usage, but 128mb is totally adequate for a fine kde or gnome based system
 
Old 01-24-2002, 09:24 AM   #7
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Huh, huh, XPants .. that's funny.
 
Old 01-24-2002, 12:50 PM   #8
StamfordRob
Member
 
Registered: Jan 2002
Location: Stamford CT
Posts: 97

Original Poster
Rep: Reputation: 15
acid.. my box reads almost 100% when i use kde or gnome.. are there processes that i can kill on boot??



Quote:
Originally posted by acid_kewpie
no it's not greedy at all, certainly uses VASTLY less memory than XPants. using gnome and kde will account for most of your memory usage, but 128mb is totally adequate for a fine kde or gnome based system
 
Old 01-24-2002, 01:47 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
100% what? Be aware of the full memory model that linux uses. As much ram as possible is used up as data cache if ti's not needed for buffers. search around for more info on it, but generally...

Code:
[root@simon chris]# free
             total       used       free     shared    buffers     cached
Mem:         62264      48360      13904          0       1160      30908
-/+ buffers/cache:      16292      45972
Swap:        76568      23068      53500
here i am USING only 16292kb of memory, the rest of the 48360 is cache, and makes things faster.

trust me.. it's a happy thing.

Last edited by acid_kewpie; 01-24-2002 at 01:50 PM.
 
Old 01-24-2002, 03:28 PM   #10
StamfordRob
Member
 
Registered: Jan 2002
Location: Stamford CT
Posts: 97

Original Poster
Rep: Reputation: 15
i ran that and my numbers were much higher.. how did you copy that from the shell? i will show it..


Quote:
Originally posted by acid_kewpie
100% what? Be aware of the full memory model that linux uses. As much ram as possible is used up as data cache if ti's not needed for buffers. search around for more info on it, but generally...

Code:
[root@simon chris]# free
             total       used       free     shared    buffers     cached
Mem:         62264      48360      13904          0       1160      30908
-/+ buffers/cache:      16292      45972
Swap:        76568      23068      53500
here i am USING only 16292kb of memory, the rest of the 48360 is cache, and makes things faster.

trust me.. it's a happy thing.
 
Old 01-25-2002, 04:35 PM   #11
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Just highlight the entries in Xterm or whatever you use to display free, and to post it just click a middle button on your mouse(if you have one, if you don't click both buttons at the same time it will work if you have 3rd button emmulation for your mouse if you don't type as root in console
/usr/sbin/mouseconfig
and select emmulate 3 button)
 
Old 01-28-2002, 04:28 PM   #12
StamfordRob
Member
 
Registered: Jan 2002
Location: Stamford CT
Posts: 97

Original Poster
Rep: Reputation: 15
ok i did some watching with the new memory installed.. it did look pretty normal.. but as i used the system and switched programs and such.. the memory use did not drop back down to what it grabbed when i logged on.. it just kept on climbing .. sure as i closed things it went down but not much..
 
Old 01-29-2002, 04:23 AM   #13
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Linux uses memory in a completely different way to windoze. In win using all your mem is a Bad Thing® but in linux it's a Good Thing®.
 
  


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
how do I install half windows98 half linux? xandar Linux - General 3 09-07-2005 04:23 AM
Gaim ate memory, couldn't kill processes. Oxagast Linux - Software 1 09-06-2005 04:55 PM
Linux ate my document and I want it back Rundi Linux - General 5 03-16-2004 06:29 AM
only seeing half my memory being initialized? lok1 Slackware 1 10-29-2003 05:43 AM
Windows ate Linux! RedHattedGnome Linux - Newbie 11 03-30-2003 11:11 AM


All times are GMT -5. The time now is 02:38 AM.

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