From 4751effbbce465109c28dddec695f1d34640c675 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 3 Jun 2011 16:21:13 -0700 Subject: [PATCH] * buffers.texi (Buffers): Correct the size limit. --- doc/emacs/buffers.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index 9463b02464d..ea48be48bf1 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi @@ -43,8 +43,9 @@ can be different from the value in other buffers. @xref{Locals}. A buffer's size cannot be larger than some maximum, which is defined by the largest buffer position representable by the @dfn{Emacs integer} data type. This is because Emacs tracks buffer positions -using that data type. For most machines, the maximum buffer size +using that data type. For 64-bit machines, the maximum buffer size enforced by the data types is @math{2^61 - 2} bytes, or about 2 EiB. +For most 32-bit machines, the maximum is @math{2^31 - 1} bytes, or about 2 GiB. For some older machines, the maximum is @math{2^29 - 2} bytes, or about 512 MiB. Buffer sizes are also limited by the size of Emacs's virtual memory. -- 2.39.5