From xemacs-m  Wed Feb 26 12:33:01 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA17313
	for <xemacs-beta@xemacs.org>; Wed, 26 Feb 1997 12:32:57 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id KAA01061;
	Wed, 26 Feb 1997 10:44:31 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: 20.1-b2 with dynamic PURESIZE success, mostly
References: <m2wwrw5t3a.fsf@altair.xemacs.org> <15286.856978506@rtp.ericsson.se>
X-Url: http://www.miranova.com/%7Esteve/
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: Raymond Toy's message of Wed, 26 Feb 1997 12:35:06 -0500
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 26 Feb 1997 10:44:30 -0800
Message-ID: <m23euj1k6p.fsf@altair.xemacs.org>
Lines: 48
X-Mailer: Gnus v5.4.15/XEmacs 20.1

Raymond Toy writes:

>> From a full distribution of 20.1-b2, with the dynamic PURESIZE plus
> corrections.  Config'ed on Solaris 2.5.1, gcc 2.7.2, X11R6.1 with

> 	../../xemacs-20.1/configure  --extra-verbose
> 	--prefix=~/apps/XEmacs --with-mule --with-sparcworks
> 	--with-dialogs=motif --with-sound=both
> 	--srcdir=../../xemacs-20.1
          ^^^^^

When using --srcdir, I found only

# include <PURESIZE.h>

works, not `# include "PURESIZE.h"'.

> 	--site-includes=/apps/public/solaris2.5/include
> 	--site-runtime-libraries=/apps/public/solaris2.5/lib 

> I used the PURESIZE.h in Steve's message.  This went as far as
> dumping, and ran out of memory and dumped core.  Sorry, didn't save
> the message.  If you need it, I can get it again.

Weird stuff seems to happen with too small PURESIZEs.  The only time I
got an actual coredump in testing was when I had it set to 30k.

The generic fix seems to be to start with a *huge* PURESIZE and let
XEmacs adjust it downward.  The distribution will start with a
PURESIZE of 1,200,000 which should work for 64 bit machines too.

> I bumped up PURESIZE.h to 800000, which was a little too small.  It
> dumped, but then tried to write PURESIZE.h, at which point, xemacs
> said no such file.  I copied PURESIZE.h into src and continued from
> there.  Finally, dumping proceeded, and said to rebuild.  The result
> was:

> 	Purespace usage: 880788 of 883288 (100%).

> Results look good so far, but I haven't tried out much yet.

> I hope this dynamic puresize stays.  I like it.

The feedback has been favorable, and it has been tested on 64 bit
machines so it looks like it will be in the next betas.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

