LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-20-2003, 07:30 PM   #1
eLinux
LQ Newbie
 
Registered: Sep 2003
Location: Classified
Distribution: RedHat
Posts: 5

Rep: Reputation: 0
Memory Leak?


Every time I reboot my computer, my memory usage is pretty low (well...yeah, not as low as it should be in my opinion, but not horrible). I'm talking about like 120 or so, maybe as high as 150. However, the more and more I use my computer, the more the memory increases.

Right now it's at 328mb. What in the world?!

I have a few browser windows open, gaim, and that's it. Period. Nothing fancy.

What is going on? Is there an equivalent to "page files" used in Windows in Linux?

...help appreciated.

(note: running RH9, gnome).
 
Old 09-20-2003, 09:03 PM   #2
raylpc
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Red Hat 9
Posts: 94

Rep: Reputation: 15
[ray@user1-188 ray]$ free -m
total used free shared buffers cached
Mem: 500 488 11 0 35 277
-/+ buffers/cache: 175 324
Swap: 797 0 797

Linux uses the ram as buffer and cache, it tries to fully utilize what you have. For the free -m output from my computer, you can see I have the ram almost 100% used (in the Mem row), but actually the programs only use 175MB (in the -/+ buffers/cache row). If some other program requests for ram resources, the kernel will release those portions used for buffers/cache. Hope it helps.
 
Old 09-20-2003, 09:21 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
[david@zeus david]$ free -m
total used free shared buffers cached
Mem: 500 299 201 0 19 140
-/+ buffers/cache: 138 361
Swap: 980 0 980
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
memory leak ? os2 Programming 1 05-19-2005 01:45 PM
Memory Leak?! RoaCh Of DisCor Linux - General 9 05-07-2005 12:26 AM
memory leak mfitzpat Linux - Newbie 1 09-24-2004 02:58 PM
memory leak mdk Mandriva 1 09-17-2004 10:54 AM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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