Variable: gc-cons-percentage

gc-cons-percentage is a customizable variable defined in alloc.c.

Value

0.1

Documentation

Portion of the heap used for allocation.

Garbage collection can happen automatically once this portion of the heap has been allocated since the last garbage collection. If this portion is smaller than gc-cons-threshold, this is ignored.

Probably introduced at or before Emacs version 22.1.

Source Code

// Defined in /usr/src/emacs/src/alloc.c
  DEFVAR_LISP ("gc-cons-percentage", Vgc_cons_percentage,
	       doc: /* Portion of the heap used for allocation.
Garbage collection can happen automatically once this portion of the heap
has been allocated since the last garbage collection.
If this portion is smaller than `gc-cons-threshold', this is ignored.  */);