From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4068 invoked from network); 16 Feb 2000 19:48:52 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Feb 2000 19:48:52 -0000 Received: from mail.xmission.com (root@mail.xmission.com [198.60.22.22]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA26181 for ; Wed, 16 Feb 2000 14:48:52 -0500 Received: from [166.70.2.216] (helo=sicilia.bradfordfamily.org) by mail.xmission.com with esmtp (Exim 3.03 #3) id 12LARL-00061N-00 for axp-list@redhat.com; Wed, 16 Feb 2000 12:48:50 -0700 Received: from sicilia.bradfordfamily.org (localhost [127.0.0.1]) by sicilia.bradfordfamily.org (8.9.3/8.9.3) with ESMTP id MAA25701 for ; Wed, 16 Feb 2000 12:48:42 -0700 Message-Id: <200002161948.MAA25701@sicilia.bradfordfamily.org> X-Mailer: exmh version 2.0.3 6/15/98 To: axp-list@redhat.com Subject: Re: Memory leaks X-operating-system: Linux In-Reply-To: Your message of "Wed, 16 Feb 2000 12:26:36 EST." <38AADDCC.BFD1930D@larc.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 Feb 2000 12:48:42 -0700 From: Andy Bradford 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/ ===+