diff options
| -rw-r--r-- | doc/misc/efaq.texi | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index 0b7b6d9c9f2..29461bec7a6 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi | |||
| @@ -2918,20 +2918,29 @@ type @kbd{C-h C-p} to read it. | |||
| 2918 | @end menu | 2918 | @end menu |
| 2919 | 2919 | ||
| 2920 | @node Problems with very large files | 2920 | @node Problems with very large files |
| 2921 | @section Does Emacs have problems with files larger than 8 megabytes? | 2921 | @section Does Emacs have problems with large files? |
| 2922 | @cindex Very large files, opening | 2922 | @cindex Very large files, opening |
| 2923 | @cindex Large files, opening | 2923 | @cindex Large files, opening |
| 2924 | @cindex Opening very large files | 2924 | @cindex Opening very large files |
| 2925 | @cindex Maximum file size | 2925 | @cindex Maximum file size |
| 2926 | @cindex Files, maximum size | 2926 | @cindex Files, maximum size |
| 2927 | 2927 | ||
| 2928 | Old versions (i.e., anything before 19.29) of Emacs had problems editing | 2928 | Emacs has an inherent fixed limitation on the size of buffers. This |
| 2929 | files larger than 8 megabytes. In versions 19.29 and later, the maximum | 2929 | limit is stricter than the maximum size of objects supported by other |
| 2930 | buffer size is at least @math{2^{27}-1}, or 134,217,727 bytes, or 132 MBytes. | 2930 | programs on the same architecture. |
| 2931 | The maximum buffer size on 32-bit machines increased to 256 MBytes in | ||
| 2932 | Emacs 22, and again to 512 MBytes in Emacs 23.2. | ||
| 2933 | 2931 | ||
| 2934 | Emacs compiled on a 64-bit machine can handle much larger buffers. | 2932 | The maximum buffer size on 32-bit machines is 512 MBytes beginning |
| 2933 | with version 23.2. If Emacs was built using the | ||
| 2934 | @code{--with-wide-int} flag, the maximum buffer size on 32-bit | ||
| 2935 | machines is 2 GB. | ||
| 2936 | |||
| 2937 | Emacs compiled on a 64-bit machine can handle much larger buffers; up | ||
| 2938 | to @code{most-positive-fixnum} (2.3 exabytes). | ||
| 2939 | |||
| 2940 | Due to things like decoding of multibyte characters, you can only | ||
| 2941 | visit files with a size that is roughly half the buffer size limit. | ||
| 2942 | When visiting compressed archives, the file size limit will be | ||
| 2943 | smaller than that due to decompression. | ||
| 2935 | 2944 | ||
| 2936 | @node ^M in the shell buffer | 2945 | @node ^M in the shell buffer |
| 2937 | @section How do I get rid of @samp{^M} or echoed commands in my shell buffer? | 2946 | @section How do I get rid of @samp{^M} or echoed commands in my shell buffer? |