Re: v2.1.51: Memory lost? PLEASE(!) help...

Meino Christian Cramer (mccramer@solfire.ludwigsburg.netsurf.de)
Mon, 25 Aug 1997 21:20:48 -0000 (???)


Hi Joost!

Thank you for your response!

I one word: "ENLIGHTENED" ;-)

On 25-Aug-97 joost witteveen wrote:

> No. Look at this:
>
> MemTotal: 47244 kB
> MemFree: 776 kB
> MemShared: 85632 kB
> Buffers: 2404 kB
> Cached: 8804 kB
> SwapTotal: 61452 kB
> SwapFree: 56672 kB
>
> This is after I started several (about 20) xterms.
> As you can see, I've only got 48M total, but MemShared is already 85M.

I see -- wonderful! Even in this difficult way, Linux is exactly the
opposite of Micro$ofts Windowns. ;-)

> (Shared reports the amount of memory saved because different applications
> each use the same binaries/libaries (xterm+it's libraries, in this case).
> This can be much more than the total of memory).

Is it possible, that one process allocs mem in a very "dirty" way,
don't free that and terminates and this mem remains still allocated?
Possibly "hidden", so the kernel isn't able to free that mem by itself?
Something of a "permanent memory leak" ?

>
> Note that "used" memory isn't included in the tagged /proc/meninfo
> lists.

Would be nice to have such info...

> So, in my case (above), about all of my memory is "used", and
> I'm saving an awfull lot by linux's smart sharing of memory.

Logically, you can add more memory by using all...confusing ;-) 8*)

>
> Apparently, you use about 20M still for X and the daemons you're also
> running.

Ooops -- that much only for X??? How does it run as I had only
16MB without swapping?

Adding memory by using all? ;-)
Is that, what people call "reverse engineering"? ;-) :*)

> Very well possible.

Rocks falling off my heart.....

>
>
>> What is going on in my box???
>
> It's running linux. Be happy.

Yes, I was, I am, and will ever be!

Thank you again very much Joost!

KEEP HACKING!
meino

>
> --
> joost witteveen, joostje@debian.org
>#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
> $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
> lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
>#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/
>
>
>
>

----------------------------------
E-Mail: Meino Christian Cramer <mccramer@solfire.ludwigsburg.netsurf.de>
Date: 25-Aug-97
Time: 21:07:17

This message was sent by XFMail
----------------------------------