Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_threads() and get_num_threads() leak memory on OSX #178

Closed
giampaolo opened this issue May 23, 2014 · 2 comments
Closed

get_threads() and get_num_threads() leak memory on OSX #178

giampaolo opened this issue May 23, 2014 · 2 comments

Comments

@giampaolo
Copy link
Owner

From g.rodola on July 04, 2011 20:16:39

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: http://code.google.com/p/psutil/issues/detail?id=178

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From g.rodola on July 04, 2011 11:39:40

Fixed in 1073.

Status: FixedInSVN
Labels: Milestone-0.3.0

@giampaolo
Copy link
Owner Author

From g.rodola on July 08, 2011 12:07:35

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant