kiranvizru / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

Memory leak in psutil.Process.get_memory_info() #417

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. running python ps.py, with content:
#!/usr/bin/env python
import time
import psutil
while True:
    time.sleep(0.5);
    for ps in psutil.process_iter():
        ps.get_memory_info();
2. open taskmgr
3. you can see the memory usage is growing fast

What is the expected output?
the memory usage should be nearly constant.

What do you see instead?
the memory usage is growing fast

What version of psutil are you using? What Python version?
psutil 1.0.1
python 3.3.2

On what operating system? Is it 32bit or 64bit version?
Windows Server 2003 32-bit

Please provide any additional information below.

Original issue reported on code.google.com by chenzhuo...@gmail.com on 9 Aug 2013 at 9:23

GoogleCodeExporter commented 9 years ago
This was already tracked in issue 413 (which I fixed already).
Thanks anyway for signaling.

Original comment by g.rodola on 9 Aug 2013 at 9:44