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

Explicitly run garbage collection after loading credentials #197

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

MichaelEischer
Copy link
Collaborator

Decrypting the credentials requires a lot of memory, such that later garbage collections only happen after doubling that memory usage again. Explicitly run a GC to reset the memory usage reference level.

Partial fix for #180

Decrypting the credentials requires a lot of memory, such that later
garbage collections only happen after doubling that memory usage again.
Explictly run a GC to reset the memory usage reference level.
Copy link
Collaborator

@timonegk timonegk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also reduces memory consumption on my machine.

@MichaelEischer MichaelEischer merged commit 8b8c93f into main Jan 7, 2025
5 checks passed
@MichaelEischer MichaelEischer deleted the gc-after-auth branch January 7, 2025 17:30
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.

2 participants