From owner-freebsd-current Mon Jul 17 03:36:58 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA23052 for current-outgoing; Mon, 17 Jul 1995 03:36:58 -0700 Received: from server.netcraft.co.uk (server.netcraft.co.uk [194.72.238.2]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id DAA23044 ; Mon, 17 Jul 1995 03:36:53 -0700 Received: (from paul@localhost) by server.netcraft.co.uk (8.6.11/8.6.9) id LAA24030; Mon, 17 Jul 1995 11:36:08 +0100 From: Paul Richards Message-Id: <199507171036.LAA24030@server.netcraft.co.uk> Subject: Re: XFree86 and swap To: imp@village.org (Warner Losh) Date: Mon, 17 Jul 1995 11:36:07 +0100 (BST) Cc: rsnow@legend.txdirect.net, paul@FreeBSD.org, FreeBSD-current@FreeBSD.org In-Reply-To: <199507160004.SAA02450@rover.village.org> from "Warner Losh" at Jul 15, 95 06:04:37 pm Reply-to: paul@FreeBSD.org X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1309 Sender: current-owner@FreeBSD.org Precedence: bulk In reply to Warner Losh who said > > : Interesting. You may have seen my posts about "how to add swapfile?" > : because my swap kept getting eaten and never flushed. Last night I did > : a test and started X and everything looked fine until I ran Netscape and > : browsed around. When I finished my Xserver was 14M. (in about 45minutes) > : > : BTW, It stayed at 14MB when I exited Netscape. > > It won't give memory back to the system. I seem to remember that our malloc was pretty stupid about freeing up memory but do you mean the X server never gives back the memory it grabs? If so, what's the reasoning? When you're running lots of X clients, like netsape and xv then you're going to use a LOT of memory in one go and if the X server never gives it back you're in trouble. > > Also, netscape (at least in some versions) eats huge amounts of server > resources by creating largish pixmaps. At least that's what I've seen > here with 1.0N. Purhaps that is your problem? Well, netscape seems to be the cause but I'm not sure it's the problem since I'd expect the memory to be freed when I kill it. -- Paul Richards, Bluebird Computer Systems. FreeBSD core team member. Internet: paul@FreeBSD.org, http://www.freebsd.org/~paul Phone: 0370 462071 (Mobile), +44 1222 457651 (home)