Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* locating memory leak??
@ 2002-09-06  6:26 John Weez
  2002-09-06  7:04 ` Linus Gasser
  0 siblings, 1 reply; 2+ messages in thread
From: John Weez @ 2002-09-06  6:26 UTC (permalink / raw)
  To: axp-list

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???

Thanx




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: locating memory leak??
  2002-09-06  6:26 locating memory leak?? John Weez
@ 2002-09-06  7:04 ` Linus Gasser
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Gasser @ 2002-09-06  7:04 UTC (permalink / raw)
  To: axp-list

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-06  7:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06  6:26 locating memory leak?? John Weez
2002-09-06  7:04 ` Linus Gasser

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