Connecting Tech Pros Worldwide Help | Site Map

display memory usage in process

Newbie
 
Join Date: Aug 2009
Posts: 1
#1: Aug 26 '09
Hi, I'm newbie in python, how to display memeory usage in python.
in c++ usually use memavail.
please help me with sample code.
thanks
Newbie
 
Join Date: Aug 2009
Location: Louisville
Posts: 13
#2: Aug 28 '09

re: display memory usage in process


Well I googled it, and if you are on a Unix-based system you are in luck!

Check out the resource module.

Unfortunately, I could not find... an 'official' way to check memory usage in Windows. http://lmgtfy.org/?q=python+memory+usage+in+windows

Hope this helps!
Reply