Skip to content

Demonstrates that cache items like sessions are never garbage collected

Notifications You must be signed in to change notification settings

Skrethel/keycloak_cache_expiry_oom

 
 

Repository files navigation

keycloak_cache_expiry_oom

Demonstrates that cache items like sessions are never garbage collected, see https://issues.redhat.com/browse/KEYCLOAK-18518

This version is adapated to show that standalone mode (non HA) also has memory leak.

Usage

Start dockers.

docker-compose up

Once dockers are started, query keycloak metrics to observe that Old Gen constantly increases.

curl -sS localhost:9991/metrics | grep vendor_memoryPool_usage_bytes | grep "G1 Old Gen"

About

Demonstrates that cache items like sessions are never garbage collected

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 63.5%
  • Batchfile 36.5%