1 |
@c -*-texinfo-*- |
@c -*-texinfo-*- |
2 |
@c This is part of the GNU Emacs Lisp Reference Manual. |
@c This is part of the GNU Emacs Lisp Reference Manual. |
3 |
@c Copyright (C) 1990, 1991, 1992, 1993, 1998, 1999 |
@c Copyright (C) 1990, 1991, 1992, 1993, 1998, 1999, 2005 |
4 |
@c Free Software Foundation, Inc. |
@c Free Software Foundation, Inc. |
5 |
@c See the file elisp.texi for copying conditions. |
@c See the file elisp.texi for copying conditions. |
6 |
@setfilename ../info/internals |
@setfilename ../info/internals |
368 |
@code{garbage-collect} will set the threshold back to 10,000. |
@code{garbage-collect} will set the threshold back to 10,000. |
369 |
@end defopt |
@end defopt |
370 |
|
|
371 |
|
@defopt gc-cons-percentage |
372 |
|
The value of this variable is the minimum portion of the heap that |
373 |
|
should be allocated before a garbage collection takes place. It is |
374 |
|
used only if the specified size is larger than |
375 |
|
@code{gc-cons-threshold}. |
376 |
|
|
377 |
|
As the heap size increases, the time to perform a garbage collection |
378 |
|
increases, so in order to compensate, this variable tries to |
379 |
|
correspondingly reduce the frequency of collection by letting Emacs |
380 |
|
allocate more memory between each collection. |
381 |
|
@end defopt |
382 |
|
|
383 |
The value returned by @code{garbage-collect} describes the amount of |
The value returned by @code{garbage-collect} describes the amount of |
384 |
memory used by Lisp data, broken down by data type. By contrast, the |
memory used by Lisp data, broken down by data type. By contrast, the |
385 |
function @code{memory-limit} provides information on the total amount of |
function @code{memory-limit} provides information on the total amount of |