From 309554edb4f7f6e81d014e7d7aed5ac890899cc0 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 28 Sep 2023 12:59:43 +0200 Subject: [PATCH] ; Mention 64-bit first in FAQ on large files * doc/misc/efaq.texi (Problems with very large files): Mention 64-bit machines before 32-bit ones, as they are more common. --- doc/misc/efaq.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index 600f4435e62..2fc8e60d400 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi @@ -3301,12 +3301,12 @@ Emacs has an inherent fixed limitation on the size of buffers. This limit is stricter than the maximum size of objects supported by other programs on the same architecture. -The maximum buffer size on 32-bit machines is 512 MBytes. If Emacs -was built using the @code{--with-wide-int} flag, the maximum buffer -size on 32-bit machines is 2 GB. +The maximum buffer size on 64-bit machines is 2.3 exabytes +(@code{most-positive-fixnum}). -Emacs compiled on a 64-bit machine can handle much larger buffers; up -to @code{most-positive-fixnum} (2.3 exabytes). +Emacs compiled on a 32-bit machine can handle buffers up to 512 +MBytes. If Emacs was built using the @code{--with-wide-int} flag, the +maximum buffer size on 32-bit machines is 2 GB. Due to things like decoding of multibyte characters, you can only visit files with a size that is roughly half the buffer size limit. -- 2.39.5