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

fix a memory leakage bug in pycbc_brute_bank #4814

Merged
merged 2 commits into from
Jul 13, 2024

Conversation

yi-fan-wang
Copy link
Member

#4803 has a memory leakage bug because, as far as I understand, atexit makes a reference to the multiprocessing pool so it doesn't completely terminate after each call. This PR add a method to close the pool and remove the reference. I did a test with what failed before, the memory leakage doesn't occur again.

@yi-fan-wang
Copy link
Member Author

@raffienficiaud Much appreciate if you can take a look!

@ahnitz ahnitz merged commit 4553ed7 into gwastro:master Jul 13, 2024
32 checks passed
@yi-fan-wang yi-fan-wang deleted the fixmemory branch July 14, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants