From xemacs-m  Fri Jan 10 18:00:29 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
          by xemacs.org (8.8.4/8.8.4) with ESMTP
	  id SAA25733 for <xemacs-beta@xemacs.org>; Fri, 10 Jan 1997 18:00:29 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id QAA16409; Fri, 10 Jan 1997 16:10:27 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: "Memory exhausted" with xemacs-19.15-b3
References: <199701102338.PAA24760@lungo>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Vladimir Ivanovic's message of Fri, 10 Jan 1997 15:38:53 -0800
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: text/plain; charset=US-ASCII
Date: 10 Jan 1997 16:10:24 -0800
Message-ID: <m2pvzdvzpr.fsf@altair.xemacs.org>
Lines: 21
X-Mailer: Red Gnus v0.80/XEmacs 20.0

Vladimir Ivanovic writes:

> With xemacs-19.15-b3 (I've since upgraded to b7) I had in a buffer
> the output of `make -d' -- 400,000 lines (32 MB).  Top told me that
> XEmacs had a virtual size of 81 MB and a resident size of 41 MB.  Fine
> so far, although my SS5 was a little sluggish.

> Now, to help things, I wanted to shrink the amount of buffer space
> being used.  So I did a `mark-whole-buffer' to select the entire
> buffer (`make' was still running) and then deleted it with
> `kill-region'.  No change in the virtual size, but the resident size
> went down by 10 MB after a while.

It's a feature and the internals manual describes this exact
situation.  The entire buffer has to be deleted to reclaim the
memory.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

