Skip to content

Conversation

@ahus1
Copy link
Contributor

@ahus1 ahus1 commented Oct 28, 2025

Closes #43744

Closes keycloak#43744

Signed-off-by: Alexander Schwartz <[email protected]>
@ahus1 ahus1 self-assigned this Oct 28, 2025
@ahus1 ahus1 changed the title Avoid holding on to the realm Avoid holding on to the realm in cached configurations Oct 28, 2025
@ahus1 ahus1 marked this pull request as ready for review October 28, 2025 11:04
@ahus1 ahus1 requested review from a team as code owners October 28, 2025 11:04
@ahus1 ahus1 enabled auto-merge (squash) October 28, 2025 11:04
@ahus1
Copy link
Contributor Author

ahus1 commented Oct 28, 2025

@keycloak/core-clients - can I ask one of your team to review this one? Thanks!

Copy link
Contributor

@rmartinc rmartinc left a comment

Choose a reason for hiding this comment

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

Thanks @ahus1! LGTM! Better if we don't cache any RealmModel.

@ahus1 ahus1 merged commit 2b51d6f into keycloak:main Oct 28, 2025
80 checks passed
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.

Increased memory usage due to leaking KeycloakSession instances

3 participants