Skip to content

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

Open
shoaib42 wants to merge 1 commit intoDEAP:masterfrom
shoaib42:update_doc_multiproc_avoid_mem_leak
Open

Add helpful hints to multiprocess doc for avoiding mem leaks#753
shoaib42 wants to merge 1 commit intoDEAP:masterfrom
shoaib42:update_doc_multiproc_avoid_mem_leak

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