In article <[email protected]>, CTO <[email protected]> wrote: > >I will admit, I have *no idea* what that code is doing, but in looking >through the gc module documentation, I'm seeing the gc.get_objects >function. Would it be equivalent to what the OP is asking to track the >size of every element returned by that?
Perhaps. gc.get_objects() only returns objects tracked by GC (i.e. containers). You would need to also check all the object references held by the containers. -- Aahz ([email protected]) <*> http://www.pythoncraft.com/ "Typing is cheap. Thinking is expensive." --Roy Smith -- http://mail.python.org/mailman/listinfo/python-list
