Re: 2.4.0-test6 memory leak?

From: Gerhard Mack (gmack@innerfire.net)
Date: Tue Aug 22 2000 - 21:07:46 EST


On Tue, 22 Aug 2000, Forever shall I be. wrote:

> Tigran Aivazian wrote:
>
> > On Tue, 22 Aug 2000, Forever shall I be. wrote:
> > > especially when I'm attempting to run programs and watching them
> > > get killed because there's no more memory left..
> >
> > ah... you didn't say that, did you? If you do get processes killed because
> > of oom you may indeed have some sort of leak (but not necessarily).
>
> [snip]
>
> >
> > Regards,
> > Tigran
> >
>
> Well, you were right.. It's not a memory leak, but I still consider it a
> bug... I can allocate small amounts of memory, and let it free up more as
> I allocate and write to them, and by doing this, I can regain the
> memory so that I can allocate it all at once -- I can't just allocate it
> all at once from the start, though, because Linux apparently thinks it's
> taken by something that won't free it up for me ;)
>
I've discovered that in my case the cache wasn't being freed until I hit
0 swap free in wich case it would slowly free it. What kernels have you
tried?

        Gerhard

--
Gerhard Mack

gmack@innerfire.net

<>< As a computer I find your faith in technology amusing.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 23 2000 - 21:00:08 EST