You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
You're right: I can reproduce the problem with
_psutil_mswindows.get_process_memory_info_2().
This also means we currently does not have a test case for this.
More later.
From thep...@gmail.com on July 26, 2013 01:48:04
Original issue: http://code.google.com/p/psutil/issues/detail?id=413
The text was updated successfully, but these errors were encountered: