comparison lispref/internals.texi @ 70403:bbbbf819a488

(Pure Storage): Mention the pure overflow message at startup.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 05 May 2006 12:58:42 +0000
parents 067115a6e738
children f7aff7b6d4af
comparison
equal deleted inserted replaced
70402:092e1a7bea9c 70403:bbbbf819a488
153 Pure storage is allocated only while @file{temacs} is loading the 153 Pure storage is allocated only while @file{temacs} is loading the
154 standard preloaded Lisp libraries. In the file @file{emacs}, it is 154 standard preloaded Lisp libraries. In the file @file{emacs}, it is
155 marked as read-only (on operating systems that permit this), so that 155 marked as read-only (on operating systems that permit this), so that
156 the memory space can be shared by all the Emacs jobs running on the 156 the memory space can be shared by all the Emacs jobs running on the
157 machine at once. Pure storage is not expandable; a fixed amount is 157 machine at once. Pure storage is not expandable; a fixed amount is
158 allocated when Emacs is compiled, and if that is not sufficient for the 158 allocated when Emacs is compiled, and if that is not sufficient for
159 preloaded libraries, @file{temacs} crashes. If that happens, you must 159 the preloaded libraries, @file{temacs} allocates dynamic memory for
160 increase the compilation parameter @code{PURESIZE} in the file 160 the part that didn't fit. If that happens, you should increase the
161 @file{src/puresize.h}. This normally won't happen unless you try to 161 compilation parameter @code{PURESIZE} in the file
162 preload additional libraries or add features to the standard ones. 162 @file{src/puresize.h} and rebuild Emacs, even though the resulting
163 image will work. Such an overflow normally won't happen unless you
164 try to preload additional libraries or add features to the standard
165 ones. Emacs will display a warning about the overflow when it
166 starts.
163 167
164 @defun purecopy object 168 @defun purecopy object
165 This function makes a copy in pure storage of @var{object}, and returns 169 This function makes a copy in pure storage of @var{object}, and returns
166 it. It copies a string by simply making a new string with the same 170 it. It copies a string by simply making a new string with the same
167 characters, but without text properties, in pure storage. It 171 characters, but without text properties, in pure storage. It