Here some some functions I've used to analyze memory usage in the past. http://mnetproject.org/repos/pyutil/pyutil/memutil.py There may be bugs. If so, please fix them or at least report them. Regards, Zooko