sbcl howto find current memory usage
Posted: Tue May 17, 2011 8:47 am
I want to write an after-gc-hook which can detect that we are nearing the dynamic-space-allocation limit and throw an error.
However I have not been able to find and variables or functions which will report the current dynamic space usage.
(room) prints the desired info but I need to access from a hook.
So question is which functions or variables will report memory usage?
However I have not been able to find and variables or functions which will report the current dynamic space usage.
(room) prints the desired info but I need to access from a hook.
So question is which functions or variables will report memory usage?