Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Daniel J. Frasnelli" <dfrasnel@csee.wvu.edu>
To: axp-list@redhat.com
Subject: Re: where does the memory go?
Date: Tue, 9 Mar 1999 13:43:50 -0500	[thread overview]
Message-ID: <19990309134350.I20712@csee.wvu.edu> (raw)
In-Reply-To: <Pine.LNX.3.95.990309122613.3561A-100000@mail.btechnet.com>; from Paul B. Brown on Tue, Mar 09, 1999 at 12:29:31PM -0500

Gentlemen,

> A number of programs are designed to grab memory and hang onto it based on
> events that occur.  Some grab a pretty big chunk at the initialization
> phase while others try to play nice and only grab chucks as requirements
> dictate.
	True, but what Matt's system is experiencing is completely normal.  
See below.
> Review your list of deamons and see where the memory is being used.
	"daemons" - the BSD people would have your head in a basket if
they ever saw that spelling of the word :-)  

> > munch:mnelson> free
> >              total       used       free     shared    buffers     cached
> > Mem:        515112     506632       8480      34744      27728     454752
> > -/+ buffers/cache:      24152     490960
> > Swap:       523640        232     523408

And let's compare this to my system with 128M ram:
[dfrasnel@relativity /tmp]$ free
             total       used       free     shared    buffers     cached
Mem:        127312     115416      11896      73936      13832      61216
-/+ buffers/cache:      40368      86944
Swap:       131064        632     130432

If you look at both of these 'free' outputs, you will notice that a good 
amount of memory is tied up in both cached and shared memory allocation.
My system shows approx. 11M of physical memory free.  However, if I were to 
launch Netscape 4.51 (memory footprint of what, 30M?) I could do so
without dipping into swap space.  This is one of many beautiful features of
Linux  - I'll leave it at that without ruining the moment by dissecting the
mechanism :-)
	The only time you should be concerned about how much memory is available
(per the output of free, top, etc.) is when your swap space is almost run
out yet the machine is doing "nothing".  At that point, you probably have a 
process out of control (memory leak likely) and not addressing the problem 
leads to a system crash or at best, serious drop in responsiveness. 

Best regards,
Daniel

-- 


  reply	other threads:[~1999-03-09 18:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-09 16:14 where does the memory go? Matt Nelson
1999-03-09 17:29 ` Paul B. Brown
1999-03-09 18:43   ` Daniel J. Frasnelli [this message]
1999-03-09 19:16     ` Matt Nelson
1999-03-09 21:57       ` M. Nicklaus
1999-03-09 23:32         ` Matt Nelson
1999-03-10  9:30         ` Dr . David Alan Gilbert
1999-03-10 15:05         ` Greg Lindahl
  -- strict thread matches above, loose matches on Subject: below --
1999-03-10 21:40 M. Nicklaus
read-only archive

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