Re: VM in 2.4.7-pre hurts...

Mike Galbraith
2001-07-09T12:27:36Z

On 9 Jul 2001, Christoph Rohland wrote:

> Hi Mike,
>
> On Mon, 9 Jul 2001, Mike Galbraith wrote:
> >> > But still this may be a hint.
> >
> > _Anyway_, tmpfs is growing and growing from stdout. If I send
> > output to /dev/null, no growth. Nothing in tmpfs is growing, so I
> > presume the memory is disappearing down one of X or KDE's sockets.
>
> So tmpfs is not growing, but you still have a mem leak only with
> tmpfs? Is there some deleted file allocating blocks? Or did
> redirecting stdout fix the problem. I am not sure that I understand
> the situation.

tmpfs is growing. Redirecting output to /dev/null fixes it. (whee)

> > No such leakage without tmpfs, and I can do all kinds of normal
> > file type use of tmpfs with no leakage.
>
> BTW I am running /tmp on tmpfs all the time with KDE and never
> experienced something like that. But of course I ran oom without size
> limits.

I only started using tmpfs for /tmp after I found out how much faster
gcc runs without the -pipe switch. Writing temp files to disk is
much faster than using -pipe.. with tmpfs, it's even faster :)

-Mike