LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-22-2003, 08:29 PM   #1
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Rep: Reputation: 30
memory usage boost


as you can see on my profile, i have 512 MB of ram. im running icewm, with a superkaramba thingy running.

long stroy short, if i use linux as my normal user for about 10 minutes, the memory usage jumps from 80 MB to somwhere about 300 MB or higher. ill post the "TOP" command later when i can access my linux partition.

what might be the jump and how can i clean out the used RAM ?
 
Old 07-22-2003, 08:32 PM   #2
firefly2442
Member
 
Registered: Apr 2003
Location: USA
Distribution: Ubuntu
Posts: 95

Rep: Reputation: 15
Could it be you have too many services running?
 
Old 07-22-2003, 09:10 PM   #3
arax_luminarium
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
I can answer your problem.

I can see you come from a windoooowzzz background.

Thing's you should know.:
---------------------------------
*Unix does not use memory like windows.
*Unix will Always use 100% of your computers memory (if you did not know that you do now.)

If you want to understand why this is so.
I am shure there is lots of books/url's out there explaining the way UNIX uses memory.


 
Old 07-23-2003, 11:33 AM   #4
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
o, thanks. yeah, i've been a windows user for a long time. thanks. so when the memory's out it uses swap space ? i only have 50 MB of swap, should this be enough ? even though i have 512 mb ram .
 
Old 07-23-2003, 11:54 AM   #5
PhilD
Member
 
Registered: Mar 2003
Location: Iowa, US
Distribution: Mint
Posts: 174

Rep: Reputation: 30
I am no expert, but I can give you my understanding of this. First, Linux actually uses memory and has the abillity to reclaim resources. However, since you have 512MB why clear memory when a program or service closes unless it is needed. Since it is not, it will keep the memory intact. However, since it tracks it and can reclaim it, if you start another program and do not have enough memory for it, it will go ahead and reclaim some of the existing memory.

I have also found that linux will also use some swap. I haven't figured this out completely but I know it is true. This is a very simple view of memory management, but it has worked for me. If you want to understand a little more indepth, just do so googling.

PhilD
 
Old 07-24-2003, 10:09 AM   #6
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
thanks a lot. thats expains a lot. ive always wondered why linux needed swap space, so i always made my swaps small. thanks again. i think i will do some more googling.
 
  


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
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM
memory usage? flump Linux - Software 1 09-01-2003 08:15 PM
Memory Usage beyondzero Slackware 1 07-22-2003 03:52 PM

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

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