room-values
returns a plist containing information about the state of internal memory. This information is the same as would be printed by (room nil)
.
In 64-bit LispWorks you can also use count-gen-num-allocation and gen-num-segments-fragmentation-state.
LispWorks User Guide and Reference Manual - 20 Sep 2017