From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx2.corp.redhat.com (unknown [172.16.52.200]) by listman.redhat.com (Postfix) with ESMTP id B720440EE8 for ; Fri, 6 Sep 2002 03:06:10 -0400 (EDT) Received: (from mail@localhost) by int-mx2.corp.redhat.com (8.11.6/8.11.6) id g86760419738 for axp-list@listman.redhat.com; Fri, 6 Sep 2002 03:06:00 -0400 Received: from mx2.redhat.com ([172.16.26.25]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with SMTP id g8675td19734 for ; Fri, 6 Sep 2002 03:06:00 -0400 Received: from lcmpc15.epfl.ch (lcmpc15.epfl.ch [128.178.8.36]) by mx2.redhat.com (8.11.6/8.11.6) with SMTP id g866nos30091 for ; Fri, 6 Sep 2002 02:49:50 -0400 Received: from lcmpc15.epfl.ch (ineiti@localhost [127.0.0.1]) by lcmpc15.epfl.ch (8.12.6/8.12.6/Debian-2) with ESMTP id g8674R5B015925 for ; Fri, 6 Sep 2002 09:04:27 +0200 Received: from localhost (localhost [[UNIX: localhost]]) by lcmpc15.epfl.ch (8.12.6/8.12.6/Debian-2) id g8674QMU015923 for axp-list@redhat.com; Fri, 6 Sep 2002 09:04:26 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Linus Gasser To: axp-list@redhat.com Subject: Re: locating memory leak?? Date: Fri, 6 Sep 2002 09:04:26 +0200 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Message-Id: <200209060904.26626.ineiti@gmx.net> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by int-mx2.corp.redhat.com id g8675td19734 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Friday 06 September 2002 08:26, John Weez wrote: > Is there a good tool to aid in detecting which programs/processes might > contain memory leaks?? > > Hi i have a fresh install of 7.2. My alpha has 640 megs of ram and slowly > it dwindles down from 520 megs free to 35 megs free even after i kill most > of teh servers. TOP doesn;t show any memory intensive programs. Is there a > better tool to aid in the search??? Hi, this is a normal behaviour of the kernel. In order to speed up the computer, the kernel sets up a cache in the free space of the RAM. So while working on your computer, part of your harddisk gets it's place in the memory. If you look at /proc/meminfo, you will see something like: total: used: free: shared: buffers: cached: Mem: 262139904 246239232 15900672 0 11919360 158683136 Swap: 312549376 138129408 174419968 MemTotal: 255996 kB MemFree: 15528 kB MemShared: 0 kB Buffers: 11640 kB Cached: 89732 kB SwapCached: 65232 kB Active: 148524 kB Inactive: 76024 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 255996 kB LowFree: 15528 kB SwapTotal: 305224 kB SwapFree: 170332 kB You see that even though there is more or less no memory free in my computer, lots of it are going as a cache. This speeds up the computer! Greets Ineiti