Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 1995 23:37:56 -0700
From:      David Greenman <davidg@Root.COM>
To:        Charles Henrich <henrich@crh.cl.msu.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Memory leak somewhere? 
Message-ID:  <199506230637.XAA00196@corbin.Root.COM>
In-Reply-To: Your message of "Fri, 23 Jun 95 02:30:03 EDT." <199506230630.CAA09279@crh.cl.msu.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I've noticed lately that my S3 X server grows continuously (as does my swap
>utilization) as time goes by, and never shrinks.  Currently my X server process
>looks like so:
>
>root       252  0.0 30.9 11632 9440 ??  I    10:39PM    0:21.43 X :0 (XF86_S3)
>
>and has only been running a few hours.  I've talked with the author of the
>Server and he was astonished when I told him I've seen it as high as 15M of
>ram.  He claims he never see's this, however he's running it under Linux.  He
>suggests perhaps there is a problem with something somewhere in FreeBSD. This
>behaviour seems to be new with the 0412-SNAP, although I dont have any
>proof of this.  This is crazy, I have a 32mb machine, and its performing like
>a dog because of this sort of memory usage (!) :(.  On a 16mb machine, if you
>run any significant apps you go to swaphell because of the memory usage here.
>Could this be a leak in the kernel malloc, or mmap code or some such?

   The kernel memory allocator has zilch to do with user programs. It's likely
caused by some sort of obscure pixmap alloc/free bug in the X server that you
just happen to trigger because of something you're doing.

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506230637.XAA00196>