GNU Info

Info Node: (elisp)Memory Usage

(elisp)Memory Usage


Next: Writing Emacs Primitives Prev: Garbage Collection Up: GNU Emacs Internals
Enter node , (file) or (file)node

Memory Usage
============

   These functions and variables give information about the total amount
of memory allocation that Emacs has done, broken down by data type.
Note the difference between these and the values returned by
`(garbage-collect)'; those count objects that currently exist, but
these count the number or size of all allocations, including those for
objects that have since been freed.

 - Variable: cons-cells-consed
     The total number of cons cells that have been allocated so far in
     this Emacs session.

 - Variable: floats-consed
     The total number of floats that have been allocated so far in this
     Emacs session.

 - Variable: vector-cells-consed
     The total number of vector cells that have been allocated so far
     in this Emacs session.

 - Variable: symbols-consed
     The total number of symbols that have been allocated so far in
     this Emacs session.

 - Variable: string-chars-consed
     The total number of string characters that have been allocated so
     far in this Emacs session.

 - Variable: misc-objects-consed
     The total number of miscellaneous objects that have been allocated
     so far in this Emacs session.  These include markers and overlays,
     plus certain objects not visible to users.

 - Variable: intervals-consed
     The total number of intervals that have been allocated so far in
     this Emacs session.

 - Variable: strings-consed
     The total number of strings that have been allocated so far in this
     Emacs session.


automatically generated by info2www version 1.2.2.9