Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reduce memory utilization when syncing/removing members from large groups #3

Open
adamfranco opened this issue Sep 14, 2022 · 0 comments
Assignees

Comments

@adamfranco
Copy link
Member

adamfranco commented Sep 14, 2022

Currently full user-data is loaded for each member even if only the display name or ID is needed. This can inflate the memory utilization when syncing extremely large groups.

There are two possible tracks:

  1. Load only the user id and display_name as needed, not the full user object.
  2. Unload the user object in a way that frees its memory each cycle of the loop.
@adamfranco adamfranco self-assigned this Sep 14, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant