Previous: Allocation functions, Up: Memory management
The function
roomprints the storage information. The argument x is simply ignored and the output ofroomis always in the same format.roomprints the following information:
The number of times the garbage collector has been called is not shown, if the number is zero.
In the following example, the maximum of 531 pages have already been
allocated for the type class to which cons belongs, but only 16.9 percent of
the cells are actually used. The garbage collector was once invoked to collect
cells in this type class.
> (room)
200/200 48.4% CONS BIGNUM RATIO COMPLEX STRUCTURE
1/5 7.4% SHORT-FLOAT RANDOM-STATE READTABLE
10/34 99.3% LONG-FLOAT CFUN CCLOSURE
47/64 71.9% SYMBOL
1/1 8.9% PACKAGE
2/69 81.8% ARRAY HASH-TABLE VECTOR BIT-VECTOR STREAM
16/40 95.9% STRING
1/1 6.8% PATHNAME
0/271 contiguous (1 blocks)
127 hole
40 3.4% relocatable
278 pages for cells
445 total pages
14709 pages available
1230 pages in heap but not gc'd + pages needed for gc marking
16384 maximum pages