Closed
Description
From thep...@gmail.com on July 26, 2013 01:48:04
What steps will reproduce the problem?
1. Repeatedly call Process.get_memory_info(), Process.get_ext_memory_info(),
Process.get_memory_percent()
2. Observe explosive memory usage
for proc in psutil.process_iter():
proc.get_memory_info()
What is the expected output?
Memory usage stays relatively flat
What do you see instead?
Consumes tons of memory
What version of psutil are you using? What Python version?
psutil 1.0.1
python 2.7.5
On what operating system? Is it 32bit or 64bit version?
Windows 7 SP1 32-bit
Please provide any additional information below.
Looks like the root issue is the call to
_psutil_mswindows.get_process_memory_info (and probably
_psutil_mswindows.get_process_memory_info_2)
Original issue: http://code.google.com/p/psutil/issues/detail?id=413