LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-03-2004, 10:28 AM   #1
linux_faq
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
Memory req for Linux (Red Hat 9.0)


I have installed red hat 9.0 on my laptop with 384 MB RAM. When the machine boots, the RAM used is 135 MB. After running some application (Mozilla web browser etc) the memory usage suddenly jumps tp 295-315 MB. This does not goes down even when I close all the application windows.

Per my understanding Linux has a small memory footprint. So why is it taking so much RAM.

I am checking memory usage in System Monitor utility. If I go to Processes tab to see all the processes that are using the memory and total them, I don't see any process with high mem usage.

Thanks.
 
Old 06-04-2004, 03:42 AM   #2
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 292

Rep: Reputation: 30
Re: Memory req for Linux (Red Hat 9.0)

Quote:
Originally posted by linux_faq
I have installed red hat 9.0 on my laptop with 384 MB RAM. When the machine boots, the RAM used is 135 MB. After running some application (Mozilla web browser etc) the memory usage suddenly jumps tp 295-315 MB. This does not goes down even when I close all the application windows.

Per my understanding Linux has a small memory footprint. So why is it taking so much RAM.

I am checking memory usage in System Monitor utility. If I go to Processes tab to see all the processes that are using the memory and total them, I don't see any process with high mem usage.

Thanks.
This is the normal behaviour afaik. A lot of memery is used as a cache to speed up ops. You'll notice that swap will moreless never be used, in windows instead ram is something like 50% free and you'll use always the swap.
 
Old 06-04-2004, 10:35 AM   #3
mfeat
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Fedora Core 3
Posts: 185

Rep: Reputation: 30
to see how much memory you have available use the "free" command and look at the row labeled "-/+ buffers/cache" in column "free". I have a 384M machine and right now free shows 152M free. i have a lot of windows open across 6 desktops (typical) such as: 2 mozilla windows (one with 6 tabs open), evolution, 6 command prompt windows, emacs, redhat-control-network, an xpdf viewer window.

i have an alias called "memhog" which i use when i need to see what's taking up memory:

alias memhog='ps aux | head -1; ps aux | sort +5nr | head -20 | cut -c1-120'

look at columns "vsz & rss". when i need more memory, redhat-control-network is usually the first to go, right now at 30M. it's odd that it can be closed even though still connected to internet. just did, now have 180M free (not sure why you can close the redhat-control-network window while still connected, maybe somebody else can answer that, also why does it take so much memory anyway?).

also, i run my machine with swap turned off because i've found that when it starts using swap space i've probably got stuff using a lot of memory that doesn't need to be there so i get rid of it. having swap turned off may not be the best way for everyone to use redhat v9, but it's what works best for me.

probably answered more than what you were asking, but hope some of it helps
 
  


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 to refresh memory in Red Hat 9? hardian_97 Linux - Hardware 7 09-14-2005 10:59 PM
Red Hat AS 2.1, Memory leak? gmccormack Linux - General 0 03-31-2004 12:59 PM
New memory Red Hat 9? nate0326 Linux - Hardware 2 12-22-2003 11:31 PM
Red Hat Memory Utilization chewy Linux - General 3 03-05-2003 06:22 PM
Red Hat 7.2 Memory Eaten Up ayhopkins Linux - Newbie 19 04-24-2002 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:00 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