gb at clozure.com
Mon Mar 1 22:53:17 PST 2004
I was trying to find a memory leak a few days ago (threads leave at least a
few Kb behind) and wrote the enclosed little utility to try to see how lisp
memory was being utilized. It was useful in that case and may be
interesting/useful to others.
This stops other threads, disables the GC, and still doesn't have a precise
notion of how many cons cells are out there (it could overestimate their
number by as much as 8K, but should get the other stuff right.)
There are certainly lots of other details that one might want to know, but
this should give you a pretty good idea of what's eligible for GC but
referenced at any point in time.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3602 bytes
Desc: not available
More information about the Openmcl-devel