# HG changeset patch # User Richard M. Stallman # Date 1130517494 0 # Node ID 97aa71642e9c24f678a789eab394123e8b5e7d92 # Parent dd57bcb034c06748ab684000aaa9c7881017d92d (Memory Full): Mention !MEM FULL! in mode line. diff -r dd57bcb034c0 -r 97aa71642e9c man/trouble.texi --- a/man/trouble.texi Fri Oct 28 16:28:43 2005 +0000 +++ b/man/trouble.texi Fri Oct 28 16:38:14 2005 +0000 @@ -311,18 +311,20 @@ @cindex memory full @cindex out of memory - If you get the error message @samp{Virtual memory exceeded}, save your -modified buffers with @kbd{C-x s}. This method of saving them has the -smallest need for additional memory. Emacs keeps a reserve of memory -which it makes available when this error happens; that should be enough -to enable @kbd{C-x s} to complete its work. + If you get the error message @samp{Virtual memory exceeded}, save +your modified buffers with @kbd{C-x s}. This method of saving them +has the smallest need for additional memory. Emacs keeps a reserve of +memory which it makes available when this error happens; that should +be enough to enable @kbd{C-x s} to complete its work. When the +reserve has been used, @samp{!MEM FULL!} appears at the beginning of +the mode line, indicating there is no more reserve. - Once you have saved your modified buffers, you can exit this Emacs job -and start another, or you can use @kbd{M-x kill-some-buffers} to free -space in the current Emacs job. If you kill buffers containing a -substantial amount of text, you can safely go on editing. Emacs refills -its memory reserve automatically when it sees sufficient free space -available, in case you run out of memory another time. + Once you have saved your modified buffers, you can exit this Emacs +session and start another, or you can use @kbd{M-x kill-some-buffers} +to free space in the current Emacs job. If this frees up sufficient +space, Emacs will refill its memory reserve, and @samp{!MEM FULL!} +will disappear from the mode line. That means you can safely go on +editing in the same Emacs session. Do not use @kbd{M-x buffer-menu} to save or kill buffers when you run out of memory, because the buffer menu needs a fair amount of memory