From: Paul Eggert Date: Fri, 3 Jun 2011 23:21:13 +0000 (-0700) Subject: * buffers.texi (Buffers): Correct the size limit. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~8^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4751effbbce465109c28dddec695f1d34640c675;p=emacs.git * buffers.texi (Buffers): Correct the size limit. --- 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.