From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15484 invoked from network); 16 Feb 2000 20:00:30 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Feb 2000 20:00:30 -0000 Received: from hyp02.larc.nasa.gov (hyp02.larc.nasa.gov [128.155.28.39]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA27544 for ; Wed, 16 Feb 2000 15:00:30 -0500 Received: from hyp72.larc.nasa.gov by hyp02.larc.nasa.gov with ESMTP (8.8.5/server2.4) id PAA04286; Wed, 16 Feb 2000 15:00:05 -0500 (EST) Received: from larc.nasa.gov (localhost [127.0.0.1]) by hyp72.larc.nasa.gov (980427.SGI.8.8.8/980728.SGI.AUTOCF) via ESMTP id PAA48280 for ; Wed, 16 Feb 2000 15:00:02 -0500 (EST) Sender: jawhite@larc.nasa.gov Message-ID: <38AB01C2.CED7E63D@larc.nasa.gov> Date: Wed, 16 Feb 2000 15:00:02 -0500 From: "Jeffery A. White" Organization: NASA LaRC, Hypersonic Airbreathing Propulsion Branch X-Mailer: Mozilla 4.51C-SGI [en] (X11; I; IRIX64 6.5 IP30) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Memory leaks References: <200002161948.MAA25701@sicilia.bradfordfamily.org> Content-Type: multipart/mixed; boundary="------------1CEB03B08E76C3F62D608C18" This is a multi-part message in MIME format. --------------1CEB03B08E76C3F62D608C18 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Andy Bradford wrote: > > 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/ ===+ > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com -- Jeffery A. White email : j.a.white@larc.nasa.gov Phone : (757) 864-6882 ; Fax : (757) 864-6243 URL : http://hapb-www.larc.nasa.gov/~jawhite/ --------------1CEB03B08E76C3F62D608C18 Content-Type: text/x-vcard; charset=us-ascii; name="j.a.white.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Jeffery A. White Content-Disposition: attachment; filename="j.a.white.vcf" begin:vcard n:White;Jeff tel;fax:(757) 864 - 6243 tel;work:(757) 864 - 6882 x-mozilla-html:FALSE url:hapb-www.larc.nasa.gov/~jawhite org:NASA Langley Research Center ;Hypersonic Airbreathing Propulsion Branch version:2.1 email;internet:j.a.white@larc.nasa.gov title:Aerospace Engineer adr;quoted-printable:;;Mail Stop 168=0D=0A;Hampton;Virginia;23681-2199;USA x-mozilla-cpt:;-2272 fn:Jeffery A. White end:vcard --------------1CEB03B08E76C3F62D608C18--