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

pml/cm: release datatype object in send completion callback #12544

Merged
merged 1 commit into from
May 15, 2024

Conversation

wenduwan
Copy link
Contributor

This change fixes a memory leak caused by not decreasing datatype object reference count when the send request completes.

This change fixes a memory leak caused by not decreasing datatype object
reference count when the send request completes.

Signed-off-by: Wenduo Wang <wenduwan@amazon.com>
@wenduwan wenduwan requested a review from bosilca May 14, 2024 23:33
@wenduwan wenduwan self-assigned this May 14, 2024
@wenduwan wenduwan requested a review from hppritcha May 14, 2024 23:33
@wenduwan wenduwan added the bug label May 15, 2024
@hppritcha
Copy link
Member

@wenduwan did you find this using valgrind? or some other tool? just curious.

@wenduwan
Copy link
Contributor Author

@jiaxiyan Found it while debugging #12453. It create DDTs in a loop.

She found that alltoall with 1B message for many many iterations caused OOM. Each process swallowed ~2GB memory.

@wenduwan wenduwan merged commit 66f02e1 into open-mpi:main May 15, 2024
14 checks passed
@wenduwan wenduwan deleted the fix_pml_cm_mem_leak branch May 15, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants