From: John Will (john.will@satalink.com)
Date: 08/28/93


From: john.will@satalink.com (John Will)
Subject: Re: Memory leak with 100n
Date: 28 Aug 1993 23:28:00 GMT

TR>I think he (like so many people) is not realizing that the
TR>"used" column = "really-used" + "buffers", and that the buffer
TR>space will mostly be freed as processes need it.

I don't think I'm confused, the difference continues to widen. Let's
take my latest numbers...

                     Right after a fresh boot
             total used free shared buffers
Mem: 15196 2104 13092 1368 776
Swap: 16380 0 16380

          After 24 hours of running with moderate activity
             total used free shared buffers
Mem: 15196 6884 8312 1084 3516
Swap: 16380 0 16380

The way I see it, used and free should add up to the total, and they
do. Shared is just a count of how much is shared I guess, but it's
included in the used count, as is buffers. If I subtract buffers from
used right after booting, I get 1328, however after running 24 hours
with X and networking active, I do the same calculation and get 3368.
If you can explain the disparity in the numbers, please do, because I'd
sure like to understand where the memory is apparently going... :-)
If I'm missing something basic, I'm all ears, but it sure looks to me
as if memory is evaporating. BTW, the free is run each time with nothing
but a single virtual console active and logged in, and a ps each time
shows the same tasks with the same memory allocation, so I'd expect the
memory used exclusive of buffers to be similar, certainly not 2 megabytes
different!

Internet: john.will@satalink.com