Object memory tools
Factor handbook ยป Developer tools

Prev:Sampling profiler
Next:Listing threads


You can print object heap status information:
room. ( -- )

heap-stats. ( -- )

heap-stats ( -- counts sizes )


You can query memory status:
data-room ( -- data-heap-room )

code-room ( -- mark-sweep-sizes )


A combinator to get objects from the heap:
instances ( quot -- seq )


You can check an object's the heap memory usage:
size ( obj -- n )


The garbage collector can be invoked manually:
gc ( -- )


See also
Images