[Pythonmac-SIG] Finding the memory usage of a Python process

Konrad Hinsen konrad.hinsen at laposte.net
Tue Apr 15 18:28:45 CEST 2008


I am trying to obtain the amount of memory that my Python process  
uses from inside the Python program using resource.getrusage(). While  
this works fine under Linux, on the Mac I always get 0 for the memory  
usage (the time information seems credible though).

Does anyone have another idea for monitoring memory usage on the Mac?

Thanks,
   Konrad.



More information about the Pythonmac-SIG mailing list