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

HDDS-12110. Optimize memory overhead for OM background tasks. #7743

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devmadhuu
Copy link
Contributor

What changes were proposed in this pull request?

This PR change is to reduce creation of too many local hashmap and other objects on repeated processing of OM events during delta sync of Recon with OM.

Some OM background tasks need code optimisations where the process method is creating static maps and other objects again and again with every run which are not needed, so that memory and GC overhead can be reduced.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-12110

How was this patch tested?

Patch is tested using existing junit tests.

@devmadhuu devmadhuu marked this pull request as ready for review January 24, 2025 06:05
@devmadhuu devmadhuu marked this pull request as draft January 24, 2025 07:14
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.

1 participant