PySizer is a memory usage profiler for Python code. Warning: I haven't had much time to work on PySizer recently. Another (better-maintained) project with the same aim is Heapy. Downloading You can get version 0.1.1 in tar.gz or zip format. There's a win32 build for Python 2.4 here. 0.1.1 has bugfixes to 0.1 - in particular, a nasty bug which meant that copy and filterd were more or less broken. A