mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* memory leak?
@ 2002-07-21 14:00 Måns Rullgård
  2002-07-21 14:19 ` Rik van Riel
  2002-07-22 14:08 ` Andrew Rodland
  0 siblings, 2 replies; 14+ messages in thread
From: Måns Rullgård @ 2002-07-21 14:00 UTC (permalink / raw)
  To: linux-kernel


I noticed that doing lots or file accesses causes the used memory to
increase, *after* subtracting buffers/cache. Here is an example:

$ free
             total       used       free     shared    buffers     cached
Mem:        773776      30024     743752          0       1992      10424
-/+ buffers/cache:      17608     756168
Swap:        81904          0      81904
$ du > /dev/null
$ free
             total       used       free     shared    buffers     cached
Mem:        773776      78008     695768          0      26328      10472
-/+ buffers/cache:      41208     732568
Swap:        81904          0      81904

Here 24 MB of memory have been used up. Repeating the du seems to have
little effect. This directory has ~3200 subdirs and 13400 files.

After a few hours use about 200 MB are used, apperently for
nothing. Killing all processed and unmounting file systems doesn't
help.

Is this a memory leak? I get the same results with ext2, ext3,
reiserfs and nfs.

-- 
Måns Rullgård
mru@users.sf.net

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

end of thread, other threads:[~2002-07-30 16:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-21 14:00 memory leak? Måns Rullgård
2002-07-21 14:19 ` Rik van Riel
2002-07-21 14:23   ` Måns Rullgård
2002-07-21 16:33     ` Alan Cox
2002-07-21 20:48       ` Måns Rullgård
2002-07-21 21:08         ` Rik van Riel
2002-07-30 16:08           ` Bill Davidsen
2002-07-30 16:43             ` Rik van Riel
2002-07-22 14:08 ` Andrew Rodland
2002-07-21 14:19   ` Måns Rullgård
2002-07-21 14:20   ` Martin Josefsson
2002-07-21 22:27     ` Stephan Maciej
2002-07-22 14:26     ` Andrew Rodland
2002-07-21 14:50       ` Rik van Riel

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

all inboxes | Powered by JetHome®