I just built the latest beta on XP, and get the following:

xemacs -q

eval the following 3 lines:

(setq debug-on-error t)
(require 'savehist)
(savehist-mode 1)

This silently kills emacs, unless I run under the debugger, in which case I get the following backtrace:

Debugger entered--Lisp error: (out-of-memory "Memory exhausted")
  signal(out-of-memory ("Memory exhausted"))
  byte-code("..." [savehist-mode errvar nil savehist-uninstall signal] 3)
  savehist-mode(1)
  eval((savehist-mode 1))
  eval-interactive((savehist-mode 1))
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp)
  (dispatch-event "[internal]")


XEmacs memory usage is about 24Meg after startup, which goes up to about 45Meg whilst it's evalling.

The only patch I have installed is Vin's package-path changes from

<http://list-archive.xemacs.org/xemacs-patches/200602/msg00067.html >

Regards

Robert


Here's the installation:
OS version:

Microsoft Windows XP [Version 5.1.2600]
OS: Windows_NT

XEmacs 21.5-b25 "eggplant" (+CVS-20060305) configured for `i586-pc-win32'.

  Building XEmacs using "NMAKE".
  Building XEmacs using make flags "                  ".
  Building XEmacs in source tree "C:\\cygwin\\home\\rpluim\\xemacs-21.5".
  For src, using compiler "cl -nologo -W3 -DSTRICT  -Zi -Od -MDd -c -TP  -IC:\cygwin\home\rpluim\xemacs- 21.5\nt\inc -IC:\cygwin\home\rpluim\xemacs-21.5\src  -I"c:\cygwin\home\rpluim\xemacs-libs\xpm-3.4k" -I"c:\cygwin\home\rpluim\xemacs-libs\xpm-3.4k\lib" -I"c:\cygwin\home\rpluim\xemacs-libs\compface- 1.5.1"  -DHAVE_MS_WINDOWS -DHAVE_MENUBARS -DHAVE_SCROLLBARS -DHAVE_TOOLBARS -DHAVE_WIDGETS -DHAVE_DIALOGS -DHAVE_XPM -DFOR_MSW -DHAVE_GIF -DHAVE_XFACE -DHAVE_NATIVE_SOUND -DERROR_CHECK_ALL -DPDUMP -DUSE_KKCC -DSYSTEM_MALLOC -DDEBUG_XEMACS -D_DEBUG  -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs  -DHAVE_CONFIG_H -DPATH_VERSION=\" 21.5-b25\"         -DPATH_PROGNAME=\"xemacs\"                 -DEMACS_VERSION=\"21.5-b25\"         -DEMACS_PROGNAME=\"xemacs\" -DSTACK_TRACE_EYE_CATCHER=xemacs_21_5_b25_i586_pc_win32 -DPATH_PREFIX=\"..\"  -DEMACS_MAJOR_VERSION=21  -DEMACS_MINOR_VERSION=5  -DEMACS_BETA_VERSION=25   -DXEMACS_CODENAME=\""eggplant"\"  -DXEMACS_EXTRA_NAME=\"(+CVS-20060305)\"  -DEMACS_CONFIGURATION=\"i586-pc-win32\"".
  For lib-src, using compiler "cl -nologo -W3 -DSTRICT  -Zi -Od -MDd -IC:\cygwin\home\rpluim\xemacs-21.5\lib-src -IC:\cygwin\home\rpluim\xemacs-21.5\src -DHAVE_CONFIG_H -DWIN32_NATIVE".
  Compiling as C++.
  Installing XEmacs in "c:\\Program Files\\XEmacs\\XEmacs-21.5-b25".
  Compiling in support for Microsoft Windows native GUI.
  Compiling in support for XPM images.
  Compiling in support for GIF images.
  --------------------------------------------------------------------
  NOTE: Compiling without PNG image support.
  NOTE: You should strongly consider installing the PNG libraries.
  NOTE: Otherwise certain images and glyphs may not display.
  NOTE: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux
  --------------------------------------------------------------------
  Compiling in support for X-Face message headers.
  Compiling in support for toolbars.
  Compiling in support for dialogs.
  Compiling in support for widgets.
  Compiling in support for native sounds.
  Using portable dumper.
  Using system malloc.
  Using DLL version of C runtime library.
  Compiling in extra internal error-checking.
  NOTE: ---------------------------------------------------------
  NOTE: Compiling in support for runtime error-checking.
  NOTE: XEmacs will run noticeably more slowly as a result.
  NOTE: Error-checking is on by default for XEmacs beta releases.
  NOTE: ---------------------------------------------------------
  Compiling in debugging support (no slowdown).
  Using new experimental GC mark algorithms.