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 #159 Memory leak in binary SDP deserialization #160

Merged
merged 2 commits into from
Dec 16, 2023

Conversation

vasdommes
Copy link
Collaborator

See #159
Memory leak was caused by bug in El::Matrix::Control(), so we don't use this method now.

I also disabled Object tracking in boost serialization for out types.
This mechanism may sometimes cause memory issues (according to some StackOverflow questions), and we don't need it - we are simply reading/writing arrays.

El::Matrix::Control() does not take ownership correctly, which caused theleak
https://gitlab.com/bootstrapcollaboration/elemental/-/issues/3
…sed RAM consumption

We don't need any tracking, we're just writing arrays.
@vasdommes vasdommes added this to the 2.6.1 milestone Dec 16, 2023
@vasdommes vasdommes merged commit 03c28ae into master Dec 16, 2023
@vasdommes vasdommes deleted the serialization-memory-leak branch December 16, 2023 06:02
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.

1 participant