changeset 100557:9b0264b3b021

Document the problems on Windows Vista and the --with-system-malloc option to config.bat.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 19 Dec 2008 11:02:27 +0000
parents 9fca92753ff2
children 26823dad2ad9
files msdos/INSTALL
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/msdos/INSTALL	Fri Dec 19 11:02:02 2008 +0000
+++ b/msdos/INSTALL	Fri Dec 19 11:02:27 2008 +0000
@@ -99,6 +99,25 @@
 which is used by config.bat.  To resolve this, move the DJGPP's `bin'
 subdirectory to the front of your PATH environment variable.
 
+Windows Vista has several bugs in its DPMI server related to memory
+allocation: it fails DPMI resize memory block function, and it
+arbitrarily limits the default amount of DPMI memory to 32MB.  To work
+around these bugs, first configure Emacs to use the `malloc' function
+from the DJGPP library.  To this end, run CONFIG.BAT with the
+"--with-system-malloc" option:
+
+    config --with-system-malloc msdos
+    make install
+
+In addition, you'll need to install Service Pack 1 (SP1) or later to
+Windows Vista and enlarge its DPMI memory limit by setting the value
+of this Registry key:
+
+  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Wow\DpmiLimit
+
+Create this key if it does not exist.  The value is a DWORD; setting
+it to 536870912 should let Emacs use up to 512MB of memory.
+
 To install the international fonts, chdir to the intlfonts-X.Y
 directory created when you unpacked the intlfonts distribution (X.Y is
 the version number of the fonts' distribution), and type the following