From owner-freebsd-questions Sun Nov 11 18:24:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from soda.csua.berkeley.edu (soda.CSUA.Berkeley.EDU [128.32.247.226]) by hub.freebsd.org (Postfix) with ESMTP id 0EE6437B416 for ; Sun, 11 Nov 2001 18:24:11 -0800 (PST) Received: from localhost (mjm@localhost) by soda.csua.berkeley.edu (8.11.6/8.11.4) with ESMTP id fAC2O7047273; Sun, 11 Nov 2001 18:24:07 -0800 (PST) (envelope-from joup@bigfoot.com) X-Authentication-Warning: soda.csua.berkeley.edu: mjm owned process doing -bs Date: Sun, 11 Nov 2001 18:24:07 -0800 (PST) From: Mark Miller X-X-Sender: mjm@soda.csua.berkeley.edu To: FreeBSD@hm.homeip.net Cc: freebsd-questions@freebsd.org Subject: Re: help! XFree86 memory leak! In-Reply-To: Message-ID: <20011111181609.V42992-100000@soda.csua.berkeley.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, It does seem to be kde that's causing the leak. I'm running 2.2.1 (from ports), and the output below lists all processes using more than 10M of virtual memory. The only apps that I'm using directly are konsole and xmms. STAT VSZ RSS COMMAND S 231284 139340 X :0 -nolisten tcp (XFree86) I 14748 2616 kdeinit: dcopserver --nosid (kdeinit) I 15776 3948 kdeinit: klauncher (kdeinit) I 17888 1812 kdeinit: knotify (kdeinit) I 15184 1252 kdeinit: Running... (kdeinit) I 16576 6620 kdeinit: kwin (kdeinit) S 16936 7300 kdeinit: kdesktop (kdeinit) S 18624 7940 kdeinit: kicker (kdeinit) S 15992 5324 kdeinit: klipper -icon klipper -miniicon klipper (kdeinit) I 16196 784 kdeinit: kwrited (kdeinit) I 15640 4800 alarmd S 17820 8040 kdeinit: konsole -icon konsole -miniicon konsole (kdeinit) I 16156 7708 kdeinit: kcookiejar (kdeinit) S 10120 4480 kdesud S 14740 5496 kded S 14412 9744 xmms I 10188 1368 ksmserver --restore I also tried running X w/ a different window manager, and things were ok. I've got 256 Megs of ram, which should be enough to run kde2. Any advice on how I can narrow down the problem? I'm competent w/ C++ and gdb, but I don't know how to begin w/ such a large code base as kde. Thanks much, Mark On Sun, 11 Nov 2001 FreeBSD@hm.homeip.net wrote: > >I would assume there is another program running which requires that memory >and so forcing XFreee to need more too. > >Do you have a newsreader or a mailchecker running? > >- Joe > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message