369 |
@end defopt |
@end defopt |
370 |
|
|
371 |
@defopt gc-cons-percentage |
@defopt gc-cons-percentage |
372 |
The value of this variable is the minimum portion of the heap that |
The value of this variable specifies the amount of consing before a |
373 |
should be allocated before a garbage collection takes place. It is |
garbage collection occurs, as a fraction of the current heap size. |
374 |
used only if the specified size is larger than |
This criterion and @code{gc-cons-threshold} apply in parallel, and |
375 |
@code{gc-cons-threshold}. |
garbage collection occurs only when both criteria are satisfied. |
376 |
|
|
377 |
As the heap size increases, the time to perform a garbage collection |
As the heap size increases, the time to perform a garbage collection |
378 |
increases, so in order to compensate, this variable tries to |
increases. Thus, it can be desirable to do them less frequently in |
379 |
correspondingly reduce the frequency of collection by letting Emacs |
proportion. |
|
allocate more memory between each collection. |
|
380 |
@end defopt |
@end defopt |
381 |
|
|
382 |
The value returned by @code{garbage-collect} describes the amount of |
The value returned by @code{garbage-collect} describes the amount of |