From owner-freebsd-current Mon Jul 17 04:15:45 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA25895 for current-outgoing; Mon, 17 Jul 1995 04:15:45 -0700 Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id EAA25889 ; Mon, 17 Jul 1995 04:15:42 -0700 Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.9/8.6.9) id UAA03075; Mon, 17 Jul 1995 20:59:01 +0930 From: Michael Smith Message-Id: <199507171129.UAA03075@genesis.atrad.adelaide.edu.au> Subject: Re: XFree86 and swap To: paul@FreeBSD.org Date: Mon, 17 Jul 1995 20:59:01 +0930 (CST) Cc: imp@village.org, rsnow@legend.txdirect.net, FreeBSD-current@FreeBSD.org In-Reply-To: <199507171036.LAA24030@server.netcraft.co.uk> from "Paul Richards" at Jul 17, 95 11:36:07 am Content-Type: text Content-Length: 1555 Sender: current-owner@FreeBSD.org Precedence: bulk Paul Richards stands accused of saying: > 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? Good question. I'd hazard a guess that it's probably historical. Think about it a bit though, it's not as simple as it may seem. Consider the speed issue too. (Instant Expert Warning! 8) > 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. No; the process can reuse the space, it's just that under our current malloc, the memory is never returned to the system. > 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. The memory that netscape uses will be freed, but the memory used by the X server to manage netscapes requests isn't freed until the X server is killed. > Paul Richards, Bluebird Computer Systems. FreeBSD core team member. If you want something that will _really_ bloat your server, try 'display' from the ImageMagic package 8) -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" - Terry Lambert [[