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

Remove disposed instances from DataReader containers #4343

Merged
merged 7 commits into from Nov 17, 2023

Conversation

smnrgrs
Copy link
Contributor

@smnrgrs smnrgrs commented Nov 8, 2023

Testing of publishing and then unregistering/disposing a large number of instances shows that DataReader maps grow in size and never recover, taking more and more memory.

We've memory profiled our test apps and then made these modifications to clean up the DataReader containers.

We're not familiar with the inner workings of OpenDDS so it would be good if someone who knows what they're doing could review these changes.

#4334

…tances stored in the owner_evaluated_ container.

Testing publishing and then unregistering a large number of instances shows that DataReader maps grow in size and never recover.
…andle from the owner_manager, and also remove the entry in the writers_ map.

Testing publishing and then unregistering a large number of instances shows that DataReader maps grow in size and never recover.
…ce_i

Testing publishing and then unregistering a large number of instances shows that DataReader maps grow in size and never recover.
@jrw972 jrw972 self-requested a review November 8, 2023 22:12
@jrw972
Copy link
Contributor

jrw972 commented Nov 9, 2023

@smnrgrs I put my suggestions on smnrgrs#1

@jrw972 jrw972 merged commit df62522 into OpenDDS:master Nov 17, 2023
129 of 130 checks passed
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.

None yet

2 participants