best way to discover this process's current memory usage, cross-platform?

Paul Boddie paul at boddie.org.uk
Wed Nov 16 05:19:35 EST 2005


Neal Norwitz wrote:
> Valgrind actually runs on PPC (32 only?) and amd64, but I don't think
> that's the way to go for this problem.

+1 for understatement of the week.

> Here's a really screwy thought that I think should be portable to all
> Unixes which have dynamic linking.  LD_PRELOAD.

Similar work is described here:

http://www.hpl.hp.com/personal/Hans_Boehm/gc/leak.html

On the subject of memory statistics, I'm surprised no-one has mentioned
"top" in this thread (as far as I'm aware): I would have thought such
statistics would have been available to "top" and presented by that
program.

Paul




More information about the Python-list mailing list