Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* unexplained memory usage
@ 1998-05-19  4:00 deys
  1998-05-19  4:00 ` Paul Tomblin
  1998-05-19  4:00 ` Greg Lindahl
  0 siblings, 2 replies; 3+ messages in thread
From: deys @ 1998-05-19  4:00 UTC (permalink / raw)



Hi,
I have a Alpha Box with 1GB RAM running RedHat 5.0. Even when I am not running
any jobs (besides the window manager plus a few xterms) "free" reports almost
all of the memory in use:
             total       used       free     shared    buffers     cached
Mem:       1032968    1016336      16632      49200     729128      76752
-/+ buffers/cache:     210456     822512
Swap:       263160          0     263160

I also checked /proc/meminfo and it is consistent:
        total:    used:    free:  shared: buffers:  cached:
Mem:  1057759232 1040621568 17137664 50348032 746496000 78610432
Swap: 269475840        0 269475840
MemTotal:   1032968 kB
MemFree:      16736 kB
MemShared:    49168 kB
Buffers:     729000 kB
Cached:       76768 kB
SwapTotal:   263160 kB
SwapFree:    263160 kB

my question is what could be using up 1GB of memory ? I checked the memory
usage of all the jobs running and nothing seems to be taking more than
1% memory as reported by ps.

Any clues will be appreciated.

-Saikat

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: unexplained memory usage
  1998-05-19  4:00 unexplained memory usage deys
  1998-05-19  4:00 ` Paul Tomblin
@ 1998-05-19  4:00 ` Greg Lindahl
  1 sibling, 0 replies; 3+ messages in thread
From: Greg Lindahl @ 1998-05-19  4:00 UTC (permalink / raw)



deys@my-dejanews.com writes:
> Hi,
> I have a Alpha Box with 1GB RAM running RedHat 5.0. Even when I am not running
> any jobs (besides the window manager plus a few xterms) "free" reports almost
> all of the memory in use:
>              total       used       free     shared    buffers     cached
> Mem:       1032968    1016336      16632      49200     729128      76752
> -/+ buffers/cache:     210456     822512
> Swap:       263160          0     263160

Linux, like most modern OSes, uses memory to buffer disk blocks.
That's using almost all of your memory, but should a program want to
use that memory, it would still be available. You want to look at the
"free + buffers" number, which is 822.5 megabytes available.

-- g



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: unexplained memory usage
  1998-05-19  4:00 unexplained memory usage deys
@ 1998-05-19  4:00 ` Paul Tomblin
  1998-05-19  4:00 ` Greg Lindahl
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Tomblin @ 1998-05-19  4:00 UTC (permalink / raw)



In a previous article, deys@my-dejanews.com said:

>Hi,
>I have a Alpha Box with 1GB RAM running RedHat 5.0. Even when I am not running
>any jobs (besides the window manager plus a few xterms) "free" reports almost
>all of the memory in use:
>             total       used       free     shared    buffers     cached
>Mem:       1032968    1016336      16632      49200     729128      76752
>-/+ buffers/cache:     210456     822512
>Swap:       263160          0     263160

What do you mean, almost all the memory?  You have to look at the "-/+
buffers/cache" line.  That says you've got 803M out of 1008M free.  The rest
of the "used memory" is being used to buffer disk accesses, and will be freed
up if processes need it.


-- 
Paul Tomblin, ptomblin@xcski.com.
"The day Microsoft makes something that doesn't suck is probably the day they
start making vacuum cleaners" - Ernst Jan Plugge



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-05-19  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-19  4:00 unexplained memory usage deys
1998-05-19  4:00 ` Paul Tomblin
1998-05-19  4:00 ` Greg Lindahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox