-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix #8291 parfor leak of redtoset variable #8339
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment why this works (and is necessary) compared to why iterating through redarrs.values() doesn't work. Thanks for the patch.
It's just that |
The notebook at https://gist.github.com/sklam/0d0c179518e89b8061cab8cbb650bcce is base on the reproducer in #8291 and I added plots to show the RSS memory usage There are still some occasional memory increase but the same is observe in the non-parallel version. I can't say for sure if there are still memory leak. |
@DrTodd13 please could you take another look at this? Many thanks. |
@DrTodd13 thanks for reviewing, marking as ready to merge. |
as titled.