Memory testing in Python

mkPyVS mikeminer53 at hotmail.com
Fri Mar 30 10:48:31 EDT 2007


>While I have a great deal of interest in memory management,
>my general reaction to your question as you've posed it is,
>"Don't; concentrate for now on good Python style."

I agree but for monitoring...

I've had good luck with executing a popen to grab and parse output
from ps -Af and pass it your own process ID as the search. It adds
overhead to the cpu exec time but it is much less than 1sec so you
won't see it.




More information about the Python-list mailing list