Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Andy Bradford <bradipo@xmission.com>
To: axp-list@redhat.com
Subject: Re: Memory leaks
Date: Wed, 16 Feb 2000 12:48:42 -0700	[thread overview]
Message-ID: <200002161948.MAA25701@sicilia.bradfordfamily.org> (raw)
In-Reply-To: Your message of "Wed, 16 Feb 2000 12:26:36 EST." <38AADDCC.BFD1930D@larc.nasa.gov>

Thus said "Jeffery A. White" on Wed, 16 Feb 2000 12:26:36 EST:

> I am using top to watch memory use and recently ran the test
> case twice in a row so that (as far a top is concerned) the memory was
> completely depleted and the job started to swap.

What does the second line of 'free' show?  This is what I would use to 
judge how much memory is currently allocated---the others have to do 
with the memory allocated in buffers which isn't in use and can be 
re-used if needed.  If you notice that the number doesn't decrease when 
you close your application then I would suspect a memory leak.

> Is there a better tool than top to monitor memory? Does anybody
> have any idea why the memory is not being de-allocated after
> the job completes?

top is a good tool, but not for tracking down memory leaks---it's 
display can be misleading.  I would try using 'free' instead even 
though it isn't the best program either.  I'm sure there must be some 
type of tool for detecting memory problems...  Keep looking.
Andy
-- 
        +====== Andy ====== TiK: garbaglio ======+
        |    Linux is about freedom of choice    |
        +== http://www.xmission.com/~bradipo/ ===+



  parent reply	other threads:[~2000-02-16 19:48 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-16 17:26 Memory leaks Jeffery A. White
2000-02-16 17:43 ` Nelson Teixeira Brito
2000-02-16 17:43   ` Brian Pomerantz
2000-02-16 18:06     ` W Bauske
2000-02-16 18:04       ` Jeffery A. White
2000-02-16 18:12         ` Mohan
2000-02-16 18:23           ` W Bauske
2000-02-16 18:34             ` Nelson Teixeira Brito
2000-02-16 18:19         ` W Bauske
2000-02-16 17:47   ` Jeffery A. White
2000-02-16 18:11     ` Michal Jaegermann
2000-02-17  8:37       ` Sean Hunter
2000-02-16 19:48 ` Andy Bradford [this message]
2000-02-16 20:00   ` Jeffery A. White
2000-02-16 20:13   ` Jeffery A. White
2000-02-16 20:19     ` Jeffery A. White
2000-02-16 20:45       ` Don Russell
2000-02-16 20:50     ` Brian Pomerantz
2000-02-16 21:14       ` Jeffery A. White
2000-02-16 21:19         ` David Singleton
2000-02-16 21:31         ` Phillip Ezolt
2000-02-16 21:38           ` Jeffery A. White
2000-02-16 21:43             ` Phillip Ezolt
2000-02-17  2:53               ` Greg Lindahl
  -- strict thread matches above, loose matches on Subject: below --
2000-02-16 17:56 Mike Foley
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