From: Stefan Kangas <stefankangas@gmail.com> Date: Thu, 28 Sep 2023 10:59:43 +0000 (+0200) Subject: ; Mention 64-bit first in FAQ on large files X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=309554edb4f7f6e81d014e7d7aed5ac890899cc0;p=emacs.git ; 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. --- 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.