[Openmcl-devel] calcultaing memory use.

Marco Baringer mb at bese.it
Mon Nov 15 02:48:08 PST 2004


i'm attempting to profile ucw's memory use and i've found the need to
write a sizeof-ish function. if i can figure out how much cretain
primative objects consume than writing a function to traverse objects
shouldn't be too hard. so, how many bytes are needed for a cons cell?
a hashtables' key and value? a clos instance? a closure?

of course, i'm assuming these question are answerablee, and maybe
they're not, or maybe there's a much simpler way to go about it (i'm
on osx 10.2 so i can't use the profiler).

-- 
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
     -Leonard Cohen



More information about the Openmcl-devel mailing list