test/test_memory_leaks.py shows both get_threads() and get_num_threads() are
leaking memory somewhere.
The script below also shows the problem:
import psutil, os
import _psutil_osx
p = psutil.Process(os.getpid())
while 1:
_psutil_osx.get_process_num_threads(p.pid)
print p.get_memory_info()
Original issue reported on code.google.com by g.rodola on 4 Jul 2011 at 6:16
Original issue reported on code.google.com by
g.rodola
on 4 Jul 2011 at 6:16