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

Add helpful hints to multiprocess doc for avoiding mem leaks #753

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shoaib42
Copy link

Recently ran into an issue with multiprocessing and memleaks. The system chewed up 32GB or ram and then some 2 GB of swap, with 2 gens left to finish, after some 4 hours of darwin chugging silicon oil.

I've noticed a few open issues complaining about mem leak while using multiprocessing.

The issue is noticed when libs like tensorflow are used, that have a mind of their own. Clearing up the session/explicit gc/del model or anything besides terminating the process doesn't help.

I think the addition of code sample in the doc will help many avoid this. And avoid issues being created for mem leak.

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

Successfully merging this pull request may close these issues.

1 participant