spring-cloud / spring-cloud/spring-cloud-vault
Memory leak when ContextRefresher is used to refresh context
Open
@mp911de is already working on this.
Since Jul 14, 2025.
type: bug
- Dominant language
- Java
- Stars
- 291
- Forks
- 152
- Avg merge
- 11h 24m
- Merged PRs (30d)
- 3
Description
When ContextRefresher is used to refresh the context, Spring Config Vault seems to be adding a bunch of ApplicationListeners to the context without cleaning up existing ApplicationListeners.
Reproduction:
Video:
https://github.com/user-attachments/assets/0510d5fd-859c-4edf-978f-d1b29eb4680b
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.