heap-stats ( -- counts sizes )
Factor handbook » Developer tools » Object memory tools

Prev:heap-stats. ( -- )
Next:data-room ( -- data-heap-room )


Vocabulary
tools.memory

Inputs
None

Outputs
countsan assoc mapping class words to integers
sizesan assoc mapping class words to integers


Word description
Outputs a pair of assocs holding class instance counts and instance memory usage, respectively.

See also
heap-stats.

Definition