[OFFTOPIC] Re: where is my memory going??

Norbert Veber (nveber@vtech.dyn.ml.org)
Sat, 27 Dec 1997 00:57:13 -0500 (EST)


On Sat, 27 Dec 1997, Johan Wiltink wrote:

> On Fri, 26 Dec 1997 02:10:03 -0500, you wrote:
>
> >I am running 2.0.32 on a libc5 system(debian). After boot my machine
> >consumes all but about 10 of my 64 megs of ram, and never frees it.
> >Also there is 120k of swap used for no apparent reason (48mb total on
> >system). I am at a loss for an explanation. 2.0.29 behaved similarly,
> >but did not eat my swap and did not chew as much mem. Suggestions or a
> >list important info needed to diagnose this problem welcome.
> >gestalt:~% free
> > total used free shared buffers
> >cached
> >Mem: 63464 54292 9172 5976 784
> >-/+ buffers: 53508 8388
> >Swap: 48348 120 48228 49284
> >
> >This is w/ nothing running but standard daemons, i.e.
> >lpd,mingetty,inetd. My machine is a home workstation, so no incoming
> >traffic or major internet stuff.
>
> -/+ buffers is behaving as -/-. Your free is incorrect. (I seem to
> recall having heard this before on the list.)
> --
> Johan Wiltink
> I am. I think.
>

besides, linux uses the memory for cache, and buffers, as more ram is
needed, it is freed up. You are probably more used to dos, where ram is
wasted (free ram=wasted ram).