Skip to contentSkip to conversation

Confused: memory leak when writing out buffers in pre9?

DISCUSSION Benjamin Redelings I 1 participant 1 message Jun 2, 2000 Memory management

lore
Share & tools
lore
#0 lore raw

Hi, I haven't gotten a chance to try ac7 and Rik's latest patch yet. However, pre9 does pretty well except in one case that really puzzles me.

Basically, when my system runs updatedb from cron, the 'used+shar' field in xosview grows really huge. But new programs aren't run! I would understand if the BUFFER section got huge,but thats not happening.

When I first start my computer (gnome + netscape), 'free' looks like this:

total used free shared buffers
cached
Mem: 62740 61620 1120 0 436
29896
-/+ buffers/cache: 31288 31452
Swap: 128484 3708 124776

(summary: 31288 used , 31452 free, 3708 swapp)

After find from updatedb runs for a while, it then looks like THIS:

total used free shared buffers
cached
Mem: 62740 61996 744 0 1116
7812
-/+ buffers/cache: 53068 9672
Swap: 128484 24840 103644

(summary: 53068 used, 9672 free, 24840 swap)

So, after NOT running any new programs (except find, I suppose) 42 Mb of SOMETHING is now in the 'used' section. I'm guessing that this is the dirty pages generated by updatedb - but why are they not in 'buffers'?

Thanks for any explanation :) (BTW, why is 'shared' always 0?)

-BenRI

Signature · 8 lines
"I want to be in the light, as He is in the Light,
 I want to shine like the stars in the heavens." - DC Talk, "In the
Light"
Benjamin Redelings I      <><     http://www.bol.ucla.edu/~bredelin/
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/