LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-17-2004, 03:01 PM   #1
Kefka_DArden
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Rep: Reputation: 0
Linux being a hog for memory.


I just checked my memory usage under System Monitor for SuSe 9.0 distro.

Under Gnome and KDE, I'm using over 700MB of memory out of my 1 gig... that is alot considering I wasn't running any applications at the time. I checked the processes and of course X-Windows is running a huge amount of it, but is there a way to drop the memory usage down, cuz I know that there are people out there running Linux without a Gig of memory.

I just wondering if there is a way to figure out what processes I need and also setting them to not start up each time I log in.

Thx
 
Old 04-17-2004, 03:09 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
i think your getting fooled, just like many other users ...
http://www.linuxquestions.org/questi...631#post475631

read what i said in that thread, and you'll have a much better understanding, on how
memory is managed in linux
 
Old 04-17-2004, 03:09 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Not really. Why have 1GB of memory if you do not want it to be used.
Linux has a different view on the memory than windows.
Instead of trying to keep as much free memory as possible Linux tries to maximaze memory usage. Linux has a dynamic handling of buffers and cache meaning that if memory is available linux will increase the buffers so that next time that same info is needed from the hard disk it will be in memory instead.
 
Old 04-17-2004, 03:35 PM   #4
Kefka_DArden
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Well that is nice to know, I understand that philosophy and think it is better idea. I just was worrying that I was going to run some memory intensive program one day and not have enough free memory.

I'll going to use that free -m command next time I'm in Linux and see really how much free memory I have after adding up the buffer, etc.

Thx DrOzz and Michaelk.
 
Old 04-17-2004, 05:39 PM   #5
wittml
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
I'm also a newbie, and just finished installing slackware on a Pentium 150 Mhz machine with about 64 Mb of memory. Just to validate what is being said here, I have found that KDE runs just fine with these restrictions.

Mike Witt
 
Old 04-17-2004, 05:58 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You can always create unlimited swap space if you are paranoid about having to little memory although each swap file or swap partition can only have a capacity of 2 GB or 2048 MB.
 
Old 04-19-2004, 04:25 PM   #7
Phorem
Member
 
Registered: Nov 2003
Location: Toronto, Canada
Distribution: Gentoo AMD64
Posts: 374

Rep: Reputation: 30
Keeping with the rules, i did a search and came up with this topic before i was going to post my own.

I too have a problem with the "disk cache". I have 1 gig and after about an hour of using my computer (yes i open and close a lot of stuff and build software) my memory is almost at the max!! What's with this? I read the stuff above, but should i use "free -m" to purge all of that disk cache so i don't have to reboot to play UT2004? My other box (amdxp 2000, 512ram) always hovers around 300 and the memory doesn't seem to get out of control. What's going on here? I must be something wrong.
 
  


Reply



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
smb4k memory hog coldsalmon Linux - Software 3 05-31-2005 03:39 PM
Linux memory hog? ryedunn Linux - Hardware 2 03-28-2004 11:45 AM
red hat 9 is a memory hog, can i put it on a diet? set235 Red Hat 14 10-17-2003 04:26 AM
Memory Hog? AekaGSR Linux - Newbie 2 07-04-2003 10:55 AM
memory hog jct842 Linux - Newbie 2 02-28-2002 12:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 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
Open Source Consulting | Domain Registration