See http://pycheesecake.org/wiki/PythonTestingToolsTaxonomy#MiscellaneousPythonTestingTools
In particular, PySizer and HeapPy might be what you're looking for. I can't say for sure, since I haven't used these tools myself. Grig -- http://mail.python.org/mailman/listinfo/python-list