From owner-freebsd-stable Mon May 29 8:40:58 2000 Delivered-To: freebsd-stable@freebsd.org Received: from epic.resnet.ucsb.edu (epic.resnet.ucsb.edu [128.111.196.5]) by hub.freebsd.org (Postfix) with ESMTP id 11C2737BC7C for ; Mon, 29 May 2000 08:40:50 -0700 (PDT) (envelope-from mike@epic.resnet.ucsb.edu) Received: (from mike@localhost) by epic.resnet.ucsb.edu (8.9.3/8.9.3) id IAA01564; Mon, 29 May 2000 08:40:48 -0700 (PDT) (envelope-from mike) Date: Mon, 29 May 2000 08:40:48 -0700 From: Mike Piatek To: stable@freebsd.org Cc: dcs@newsguy.com Subject: Re: XFree86 memory leak with new FreeBSD kernel Message-ID: <20000529084048.A1468@epic.resnet.ucsb.edu> Reply-To: mrpiatek@ece.ucsb.edu References: <39326B0F.EA81A31C@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 In-Reply-To: <39326B0F.EA81A31C@newsguy.com>; from dcs@newsguy.com on Mon, May 29, 2000 at 06:05:19 -0700 X-Mailer: Balsa 0.8.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 29 May 2000 06:05:19 Daniel C. Sobral wrote: > Mike Piatek wrote: > > > > I installed FreeBSD 4.0 when it was released and have not had any problems until > > I did a make world yesterday. Everything seemed to install okay, except today > > when I checked process memory usage, XFree86 4.0 had eaten up over 100mb of > > memory overnight. I thought this might have something to do with using XFree86 4.0, > > so I downgraded to version 3.3.6 and still have the same problem (memory is > > leaking slower, however). I assume that this has something to do with the FreeBSD > > kernel not deallocating when it is supposed to. Any ideas? > > Forgive me for asking, but what evidence do you have of memory leak? A > lot of people make such claims out of plain ignorance of what the memory > stats on top(1) mean. Well, yes, I was looking at top, but I also was looking at how much swap space was being used. Usually in XFree86 4.0, X windows will be "using" about 90-100mb of RAM. When I checked it, that amount had increased to over 225mb of RAM. When I looked at the swap usage, it was up at 90mb (I have 192mb of RAM and was not running any other processes which were using a significant amount of RAM). Most of the other processes were swapped out. Then when I tried to kill X with control-alt-backspace, the entire machine crashed. I have not noticed this with any other binaries, which is why I tried to reinstall version 3.3.6 of XFree86. If no one knows of a fix, I suppose I can go back to 4.0-RELEASE and try again, but things are busy right now and it would be difficult to spend that much time on this. Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message