-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
adrienleroy opened SPR-17020 and commented
In InMemoryWebSessionStore, expired sessions are checked and deleted when retrieveSession is called. In our case sessions are created but users never reuse the session id. So we never retrieve sessions and never clean them. We then have a memory leak.
I think that InMemoryWebSessionStore should not rely on session's creation/retrieval etc... to clean up its own sessions.
Affects: 5.0.6
Reference URL: https://jira.spring.io/browse/SPR-15963?jql=text%20~%20%22InMemoryWebSessionStore%22
Issue Links:
- InMemoryWebSessionStore Leaks Memory [SPR-15963] #20515 InMemoryWebSessionStore Leaks Memory
- InMemoryWebSessionStore method to access map of sessions [SPR-16713] #21254 InMemoryWebSessionStore method to access map of sessions
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement